Carbon


Mac OS 8.5 Icon Control Data Tag Constants

Header: ControlDefinitions.h

enum {
    kControlIconResourceIDTag = ''ires'',
    kControlIconContentTag = ''cont''
};

Constant descriptions

kControlIconResourceIDTag

Gets or sets the resource ID of the icon to use.

Data type retrieved or set: SInt16

kControlIconContentTag

Gets or sets the type of content to be used in an icon control.

Data type retrieved or set: ControlButtonContentInfo.

The Mac OS 8.5 Control Manager defines these new control data tag constants. These constants are 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 these constants in the inTagName parameter of the function GetControlDataSize if you wish to determine the size of variable-length control data. These constants 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 descriptions here show the data types 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)