Carbon


Bevel Button Menu Constant

Header: ControlDefinitions.h

enum {
    kControlBehaviorCommandMenu = 8192
};

Constant descriptions

kControlBehaviorCommandMenu

If this bit is set, the menu contains commands, not choices, and should not be marked with a checkmark. If this bit is set, it overrides the kControlBehaviorMultiValueMenu bit. This constant is only available with Appearance 1.0.1 and later.

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.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)