Important: The information in this document is obsolete and should not be used for new development.
Control Panel Extension-Defined Routines
This section describes the routines you'll need to define in order to write a control panel extension. You need to write routines that respond to panel-specific request codes. The panel-specific request codes request your control panel extension to perform various actions. These actions include:
Your control panel extension-defined routines should always return result codes of type
- returning an item list describing the panel's items and setting up the initial values of these items
- receiving and handling events in the panel
- getting and setting a panel's settings
ComponentResult
. If a routine succeeds, it should returnnoErr
.See "Dispatching to Control Panel Extension-Defined Routines" beginning on page 5-9 for a description of how you call these routines from within a control panel extension.
Subtopics
- Managing Panel Components
- Handling Panel Events
- Managing Panel Settings