Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Version: 1.0 Posted: 2003-01-14 Build Requirements: N/A Runtime Requirements: Carbon Download Sample (jGNEFilter.zip, 2.4K) |
||||
DescriptionJGNESample This snippet is a sample GetNextEvent filter which uses the JGNEFilter mechanism described in Tech Note #85 "GetNextEvent: Blinking Apple Menu". The init, written in MPW assembler, installs a filter which SysBeeps whenever a key is pressed with the shift key held down. The jGNE mechanism is the only valid place where the event record can be examined after a GetNextEvent call, since tail patching GetNextEvent breaks several aspects of the system. Document Revision History
|
|