Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Menu Styles

The Menu Styles dialog defines, edits and deletes action bar and sub-menu items. A list box will display the currently defined menu items from which you can select the item to edit.

You must set the menu type, style, attributes, and base style for each menu item. If you select a base style of Bitmap, you must also provide the necessary code for loading the bitmap from the program's resources and setting its size before assigning it to the action bar item.

You can enter the text for the menu item along with the ID symbol and value in the appropriate fields. When entering the text for the menu item, you can use the tilde (~) character and the tab (\t) designations. The tab forces accelerator designations to the right of the menu. If you do enter an accelerator designation, the accelerator will automatically be placed within the accelerator table. When you add an item, the item will be added after the last item belonging to the selected parent.

Types:

Note: Action bar menu items and sub-menus are displayed in different colors to allow you to quickly distinguish each type.

Styles:

Attributes:

Bidi Button

Menu Bar Bidi

Menu Bar Fonts and Colors

Add Standard Button

Arrange Button

There are Cancel, Change, Save, Delete and Add buttons in this dialog box.