Carbon


Mac OS 8.5 Bevel Button Control Data Tag Constant

Header: ControlDefinitions.h

enum {
    kControlBevelButtonScaleIconTag = ''scal''
};

Constant descriptions

kControlBevelButtonScaleIconTag

Gets or sets whether, when the proper icon size is unavailable, an icon should be scaled for use with a given bevel button. This tag is only for use with icon suites or the IconRef data type.

Data type retrieved or set: Boolean. If true, indicates that if an icon of the ideal size isn’t available, a larger or smaller icon should be scaled to the ideal size. If false, no scaling should occur; instead, a smaller icon should be drawn or a larger icon clipped. Default is false.

The Mac OS 8.5 Control Manager defines this new control data tag constant. This constant is passed in the inTagName parameters of the functions SetControlData and GetControlData to specify the piece of data in a control that you wish to set or get. You can also pass this constant in the inTagName parameter of the function GetControlDataSize if you wish to determine the size of variable-length control data. This constant can also be used by custom control definition functions that return the feature bit kControlSupportsDataAccess in response to a kControlMsgGetFeatures message.

The data that your application gets or sets can be of various types. The description here shows the data type for the information that you can set in the inData parameter to the SetControlData function and that you can get in the inBuffer parameter to the GetControlData function.


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