GEOS SDK TechDocs
|
|
3.1 Window Messages
|
3.3 UI Messages
These messages contain "raw" input events; events which have not yet been processed by the Input Manager. Most applications intercepting input events should intercept events which have been so processed, as described in UI Messages .
@importMessage MetaInputMessages, void MSG_META_BUTTON(
word xPosition,
word yPosition,
word inputState);
This message is sent out on any button press or release.
Parameters: xPosition X-coordinate of mouse event.
Return: Nothing.
@importMessage MetaInputMessages, void MSG_META_PTR(
word xPosition,
word yPosition,
word inputState);
This message is sent out on any mouse movement.
Parameters: xPosition X-coordinate of mouse event.
Return: Nothing.
@importMessage MetaInputMessages, void MSG_META_KBD_CHAR(
word character,
word flags, /* low byte = CharFlags, high byte = ShiftState */
word state);/* low byte = ToggleState, high byte = scan code */
This is the message sent out on any keyboard press or release. To determine whether the message is in response to a press or a release, check the CF_RELEASE bit of the
flags
field.
Parameters: character Low byte contains
Char
value of incoming character.
ShiftState
; low byte is
CharFlags
.
ToggleState
.Return: Nothing.
@importMessage MetaInputMessages, void MSG_META_MOUSE_DRAG(
word xPosition,
word yPosition,
word inputState);
This is a very low-level message, signalling that the user is dragging the mouse.
Parameters: xPosition X-coordinate of mouse event.
ShiftState
; low byte is
ButtonInfo
.Return: Nothing.
GEOS SDK TechDocs
|
|
3.1 Window Messages
|
3.3 UI Messages