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: Operating System Utilities /
Chapter 5 - Control Panel Extensions / Control Panel Extensions Reference
Control Panel Extension-Defined Routines


Managing Panel Settings

A control panel extension should respond to the kPanelValidateInputSelect, kPanelGetSettingsSelect, and kPanelSetSettingsSelect request codes. You typically define subroutines that the main program of your control panel extension calls (using the routine CallComponentFunctionWithStorage) to handle these requests. You can choose any name for these subroutines, but by convention they're called MyPanelValidateInput, MyPanelGetSettings, and MyPanelSetSettings. These routines should manage item settings in a panel.

Note
Current versions of the Sound and Video control panels do not send the kPanelValidateInputSelect, kPanelGetSettingsSelect, or kPanelSetSettingsSelect request code.

Subtopics
MyPanelValidateInput
MyPanelGetSettings
MyPanelSetSettings

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996