- Inside Macintosh: Operating System Utilities /
- Chapter 5 - Control Panel Extensions / Control Panel Extensions Reference
- Control Panel Extension-Defined Routines
Handling Panel Events
A control panel extension should respond to the kPanelItemSelect and kPanelEventSelect request codes. You typically define subroutines that the main program of your control panel extension calls (using the CallComponentFunctionWithStorage function) to handle these requests. You can choose any name for these subroutines, but by convention they're called MyPanelItem and MyPanelEvent. These two routines should respond to mouse clicks and other events in the items of the panel.
Subtopics
- MyPanelItem
-
- MyPanelEvent
-
© Apple Computer, Inc.
6 JUL 1996