ADC Home > Reference Library > Technical Notes > Legacy Documents > Apple Applications >
Legacy Document
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:
|
System 7 Finder filters Command-key messages from cdevsDate Written: 9/25/91 Last reviewed: 6/14/93 Our cdevs no longer receive key-down messages with the Command key held down in System 7. Why is this? This is true under System 7.0. Under System 6.0.x, when a cdev is brought up with the Control Panel active, the cdev is the only possible recipient of key-down or auto-key events. Under System 7.0, the Finder has become the event-switching center and now handles the passing of events to the cdev(s). You'll note that you can now have multiple cdevs open simultaneously. This design raised the potential problem that, with the Finder and other cdevs active at once, which one would be the target of the any command-key sequence. If you use Command-F while a cdev is open, the Find dialog box appears under System 7.0. If a cdev is designed to respond to Command-F, should the Finder handle the command sequence as a command to Find, or send the sequence to the cdev?
To maintain the Finder user interface, engineering decided to translate all
Command-key events to their respective cdev equivalents for those sequences
which were published in Inside Macintosh Volume V. This means that
instead of having to process Command-Z, V, C, or X, the cdev receives the
appropriate
You can still determine whether the command key is held down by using the
After determining whether the command key is held down, you need to determine
the complete command key sequence by checking for other keys currently pressed
in the This solution doesn't resolve problems such as responding to Command-F or Command-G. Also, it's not clear what new keys might be grabbed by the Finder team for use in future system versions. 'fwst' is window-position resource for cdevsDate Written:: 8/25/91 Last reviewed: 6/14/93
What's the
The 7.0 Finder intercepts Control Panel command key menu eventsDate Written: 3/14/91 Last reviewed: 6/17/91 Under System 7, Macintosh command key menu events no longer are passed to a Control Panel's main window and instead intercepted as Finder command key menu equivalents. Can I get around this?
Under System 7, all command-key equivalents refer to the menu bar. The problem
lies in the fact that, if the Control Panel handles a command-keystroke, there
is no way for the Finder to realize it. Although it's not really recommended,
you could conceivably patch Downloadables
|