Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

PATHDocumentation > Mac OS 8 and 9 > Human Interface Toolbox > Control Manager >

Mac OS 8 Control Manager Reference


Bevel Button Graphic Alignment Constants

You can use the ControlButtonGraphicAlignment constants to specify the alignment of icons and pictures in bevel buttons. These constants are passed in the inData parameter of SetControlData and returned by GetControlData . The ControlButtonGraphicAlignment constants are available with Appearance Manager 1.0 and later.

enum {
    kControlBevelButtonAlignSysDirection    = -1,
    kControlBevelButtonAlignCenter          = 0,
    kControlBevelButtonAlignLeft            = 1,
    kControlBevelButtonAlignRight           = 2,
    kControlBevelButtonAlignTop             = 3,
    kControlBevelButtonAlignBottom          = 4,
    kControlBevelButtonAlignTopLeft         = 5,
    kControlBevelButtonAlignBottomLeft      = 6,
    kControlBevelButtonAlignTopRight        = 7,
    kControlBevelButtonAlignBottomRight     = 8
};
typedef SInt16 ControlButtonGraphicAlignment;

Constant descriptions

kControlBevelButtonAlignSysDirection
Bevel button graphic is aligned according to the system default script direction (only left or right).
kControlBevelButtonAlignCenter
Bevel button graphic is aligned center.
kControlBevelButtonAlignLeft
Bevel button graphic is aligned left.
kControlBevelButtonAlignRight
Bevel button graphic is aligned right.
kControlBevelButtonAlignTop
Bevel button graphic is aligned top.
kControlBevelButtonAlignBottom
Bevel button graphic is aligned bottom.
kControlBevelButtonAlignTopLeft
Bevel button graphic is aligned top left.
kControlBevelButtonAlignBottomLeft
Bevel button graphic is aligned bottom left.
kControlBevelButtonAlignTopRight
Bevel button graphic is aligned top right.
kControlBevelButtonAlignBottomRight
Bevel button graphic is aligned bottom right.

\xA9 1998 Apple Computer, Inc. – (Last Updated 19 Nov 98)