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

This section describes the Control Manager routines for creating controls, drawing controls, tracking mouse events within controls, changing control display, determining control values, and removing controls.

Some Control Manager routines can be accessed using more than one spelling of
the routine's name, depending on the interface files supported by your development environment. For example, SetControlValue is also available as SetCtlValue.
Table 5-1 provides a mapping between the previous name of a routine and its new equivalent name.

Table 5-1 Table 5-1 Mapping between new and previous names of Control Manager routines
New namePrevious name
GetAuxiliaryControlRecordGetAuxCtl
GetControlActionGetCtlAction
GetControlMaximumGetCtlMax
GetControlMinimumGetCtlMin
GetControlReferenceGetCRefCon
GetControlTitleGetCTitle
GetControlValueGetCtlValue
GetControlVariantGetCVariant
SetControlActionSetCtlAction
SetControlColorSetCtlColor
SetControlMaximumSetCtlMax
SetControlMinimumSetCtlMin
SetControlReferenceSetCRefCon
SetControlTitleSetCTitle
UpdateControlsUpdtControl


Subtopics
Creating Controls
Drawing Controls
Handling Mouse Events in Controls
Changing Control Settings and Display
Determining Control Values
Removing Controls

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996