![]() |
ControlGetRegionRec |
Header: Controls.h |
struct ControlGetRegionRec { RgnHandle region; ControlPartCode part; }; typedef ControlGetRegionRec ControlGetRegionPtr;
A value allocated by the Control Manager. Your control definition function should set this field to the region that contains the control part specified in the part field.
The Control Manager passes a constant identifying the control part for which a region is to be obtained. For descriptions of possible values, see
If you implement a custom control definition function, when the Control Manager passes the message kControlMsgGetRegion in your control definition functions message parameter, it also passes a pointer to a structure of type ControlGetRegionRec in the param parameter. Your control definition function is responsible for setting the region field of the ControlGetRegionRec structure to the region that contains the control part which the Control Manager specifies in the part field.
See
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)