Carbon


Bevel Button Text Alignment Constants

Header: ControlDefinitions.h

enum ControlButtonTextAlignment {
    kControlBevelButtonAlignTextSysDirection = ,
    kControlBevelButtonAlignTextCenter = 1,
    kControlBevelButtonAlignTextFlushRight = -1,
    kControlBevelButtonAlignTextFlushLeft = -2
};

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.

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.

VERSION NOTES

The ControlButtonTextAlignment constants are available with Appearance Manager 1.0 and later.


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