Menu.c
(Cont.)
case keyDownEvent:
Find
icon.
For this event, the data
field contains the structure defined below.
Access the information stored in the data
field in this way:
wchar32_t = eventP->data.keyDown.chr; struct _KeyDownEventType { WChar chr; UInt16 keyCode; UInt16 modifiers; };
chr
: The character code
keyCode
: Unused
modifiers
: 0, or one or more of the values from Graffiti
FormObjectKind objType;
enum
FormObjectKind specifies values for the objectType
field of the FormObjListType.
It specifies how to interpret the object
field.
|
|
focus = FrmGetFocus( frm );
formP
: Pointer to the form object (FormType structure)