Lists Sample

This sample is located in \Samples\afc11\Lists.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows how to use the various list types and selection options provided by AFC's UIList controls. The sample displays a panel that contains the following components:

The default list type is a Multi Column UIList that displays two columns of animation frames in the UIListSample area. When an item is selected, the item's status appears at the bottom of the panel. The default Selection Type is Single, which allows only single items to be selected.

Using the Sample

To use the sample

You can manipulate the sample's components by performing the following actions:

Key Project Files

TreePanel.java

This class extends UIPanel and implements SDKConsts. It displays the list types and status information about the selected list items.

ChoicePanel.java

This class extends UIPanel and implements SDKConsts. It controls the list types that can be displayed in the right pane.

ListPanel.java

This class extends UIPanel and implements SDKConsts. It controls the selection modes that can be used in the right pane.

Technologies Demonstrated

AFC

© 1999 Microsoft Corporation. All rights reserved. Terms of use.