Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 5 - Control Manager / Control Manager Reference
Control Manager Routines / Determining Control Values


GetControlVariant

To determine the variation code specified in the control definition function for a particular control, you can use the GetControlVariant function. The GetControlVariant function is also available as the GetCVariant function.

FUNCTION GetControlVariant (theControl: ControlHandle): Integer;
theControl
A handle to the control whose variation code you wish to determine.
DESCRIPTION
The GetControlVariant function returns as its function result the variation code for the specified control.

SEE ALSO
Variation codes are described in "The Control Definition Function" on page 5-11.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996