![]() |
GetControlPropertySize |
||||
Header: | Controls.h | Carbon status: | Supported | |
Obtains the size of a piece of data that has previously been associated with a control.
OSStatus GetControlPropertySize ( ControlRef control, OSType propertyCreator, OSType propertyTag, UInt32 *size );
A handle to the control whose associated data you wish to examine.
Your programs signature, as registered through Apple Developer Technical Support. If your program is of a type that would not normally have a signature (for example, a plug-in), you should still register and use a signature in this case, even though your programs file may not have the same creator code as the signature that you register. The 'macs' property signature is reserved for the system and should not be used.
The application-defined code identifying the data.
On input, apointer to an unsigned 32-bit integer. On return, this value is set to the actual size of the data.
A result code.
If you want to retrieve a piece of associated data with the function GetControlProperty, you will typically need to use the GetControlPropertySize function beforehand to determine the size of the associated data.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)