Important: The information in this document is obsolete and should not be used for new development.
PATH![]() |
![]() ![]() |
You can use the ControlButtonTextPlacement
constants to specify the placement of text in a bevel button, in relation to an icon or picture. These constants are passed in the inData
parameter of SetControlData
and returned by GetControlData
. They can be used in conjunction with bevel button text and graphic alignment constants to create, for example, a button where the graphic and text are left justified with the text below the graphic. The ControlButtonTextPlacement
constants are available with Appearance Manager 1.0 and later.
enum {
kControlBevelButtonPlaceSysDirection = -1,
kControlBevelButtonPlaceNormally = 0,
kControlBevelButtonPlaceToRightOfGraphic = 1,
kControlBevelButtonPlaceToLeftOfGraphic = 2,
kControlBevelButtonPlaceBelowGraphic = 3,
kControlBevelButtonPlaceAboveGraphic = 4
};
typedef SInt16 ControlButtonTextPlacement;
kControlBevelButtonPlaceSysDirection
kControlBevelButtonPlaceNormally
kControlBevelButtonPlaceToRightOfGraphic
kControlBevelButtonPlaceToLeftOfGraphic
kControlBevelButtonPlaceBelowGraphic
kControlBevelButtonPlaceAboveGraphic