Important: The information in this document is obsolete and should not be used for new development.
PATH![]() |
![]() ![]() |
You can pass one or more bevel button menu constants in the high byte of the minimumValue
parameter of NewControl
to create a
bevel button with a menu of a certain behavior. Bevel buttons with menus have two values: the value of the button and the value of the menu. You can specify the direction of the pop-up menu arrow (down or right) by using the kControlBevelButtonMenuOnRight
bevel button variant. The bevel button menu constants are available with Appearance Manager 1.0 and later.
enum{
kControlBehaviorCommandMenu = 0x2000,
kControlBehaviorMultiValueMenu = 0x4000
};
kControlBehaviorCommandMenu
kControlBehaviorMultiValueMenu
bit. This constant is only available with Appearance 1.0.1 and later.kControlBehaviorMultiValueMenu
kControlMenuLastValueTag
will return the value of the last menu item selected.