Bands and Menus Sample

This sample is located in \Samples\afc102\BandsnMenus.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows how to use AFC graphics and effects classes to create and manipulate bands, buttons, menus, and scrollable viewers.

The sample displays a panel that contains the following components:

You can experiment with the various controls by selecting menu buttons and options and repositioning the bands within the band box.

Using the Sample

To use the sample

You can manipulate the panel's components by performing one of the following actions:

Key Project Files

SDKCtrlPnl.java

This class implements a container for multiple components. It extends com.ms.ui.UIPanel with the action setInitialFocus and getInsets methods to create menus and initialize the applet.

SDKConsts.java

This interface defines arrays of graphics and the text that is displayed upon menu selection.

Technologies Demonstrated

AFC

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