Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 4 - Keyboard Enhancements / Keyboard Reference
Methods and Functions for Handling Command Keys /


SendKeyMessage

SendKeyMessage(keyView, keyMessage)

Sends a message to a view as if the user had typed a key command.

keyView
The view to which the message gets sent.

keyMessage
A symbol that names the command message. This must be the same message as you specified in the keyMessage slot of the keyCommand frame.

return value
Undefined; do not rely on it.

DISCUSSION

The *SendKeyMessage function sends the message using the same lookup rules that are used when a key command is being handled by the system.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help