MyEventHandler
You can use theMyEventHandlerfunction to allow your game to handle events during the display of the device-selection dialog box.
pascal Boolean MyEventHandler ( EventRecord *event);
event- A pointer to an event record.
- function result
- Returns
trueif your game has handled the event,falseif not.DESCRIPTION
TheMyEventHandlerfunction returnstrueif your game handled the event specified in the event parameter; it returnsfalseif it did not. Calls toMyEventHandlerresult from a call to theDSpUserSelectContextfunction. If you pass a pointer to this callback function toDSpUserSelectContext, your game can handle events, such as update events, that occur while the dialog box is displayed.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help