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 Text Alignment Constants

You can use the ControlButtonTextAlignment constants to specify the alignment of text in a bevel button. These constants are passed in the inData parameter of SetControlData and returned by GetControlData . The ControlButtonTextAlignment constants are available with Appearance Manager 1.0 and later.

enum {
    kControlBevelButtonAlignTextSysDirection     = teFlushDefault,
    kControlBevelButtonAlignTextCenter           = teCenter,
    kControlBevelButtonAlignTextFlushRight       = teFlushRight,
    kControlBevelButtonAlignTextFlushLeft        = teFlushLeft
};
typedef SInt16 ControlButtonTextAlignment;

Constant descriptions

kControlBevelButtonAlignTextSysDirection
Bevel button text is aligned according to the current script direction (left or right).
kControlBevelButtonAlignTextCenter
Bevel button text is aligned center.
kControlBevelButtonAlignTextFlushRight
Bevel button text is aligned flush right.
kControlBevelButtonAlignTextFlushLeft
Bevel button text is aligned flush left.

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

|