![]() |
ControlButtonContentInfo |
Header: Controls.h |
struct ControlButtonContentInfo { ControlContentType contentType; union { SInt16 resID; CIconHandle cIconHandle; Handle iconSuite; IconRef iconRef; PicHandle picture; Handle ICONHandle; } u; }; typedef ControlButtonContentInfo ControlButtonContentInfoPtr;
Specifies the bevel button or image well content type and whether the content is text-only, resource-based, or handle-based; see
If the content type specified in the contentType field is kControlContentIconSuiteRes, kControlContentCIconRes, or kControlContentPictRes, this field contains the resource ID of a picture, color icon, or icon suite resource.
You can use the ControlButtonContentInfo structure to specify the content for a bevel button or image well. Values of type ControlButtonContentInfo are set via GetControlData
, in conjunction with the kControlBevelButtonContentTag and kControlImageWellContentTag constants; see
The ControlButtonContentInfo type is available with Appearance Manager 1.0 and later.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)