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


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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996