IsCommandKeystroke
IsCommandKeystroke(char, flags)
Determines if the specified keystroke is a command-key combination.
- char
- The character that was entered on the keyboard. Note that if a modifier key is the only key pressed (for example, the Shift key), this value will be
0
.
- flags
- A 30-bit integer that specifies which modifier keys were pressed and other additional information. The use of the individual bits in this value are shown in Table 4-14.
- return value
- Returns
true
if the keystroke is a command-key combination, andnil
if not.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help