![]() |
List Box Control Data Tag Constants |
Header: ControlDefinitions.h |
enum { kControlListBoxDoubleClickTag = ''dblc'', kControlListBoxLDEFTag = ''ldef'' };
Checks to see whether the most recent click in a list box was a double click. Available with Appearance 1.0.1 and later.
Data type returned: Boolean; if true, the last click was a double click; if false, not.
Sets the 'LDEF' resource to be used to draw a list boxs contents; this is useful for creating a list box without an 'ldes' resource. Available with Appearance 1.0.1 and later.
Data type set: SInt16
You can use the control data tag constants to set or obtain data that is associated with a control. The control data tag constants are passed in the inTagName parameters of 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 data that your application sets or obtains can be of various types, dependent upon the control. Therefore, the descriptions of the control data tag constants list 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)