MetaClass: 3.2 Exported Message Ranges: Input Messages

Up: GEOS SDK TechDocs | Up | Prev: 3.1 Window Messages | Next: 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 .

MSG_META_MOUSE_BUTTON

@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.

yPosition
Y-coordinate of mouse event.
inputState
High byte is a ShiftState; low byte is ButtonInfo.

Return: Nothing.

MSG_META_MOUSE_PTR

@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.

yPosition
Y-coordinate of mouse event.
inputState
High byte is a ShiftState; low byte is ButtonInfo.

Return: Nothing.

MSG_META_KBD_CHAR

@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.

flags
High byte is ShiftState ; low byte is CharFlags .
state
High byte is raw PC scan code; low byte is ToggleState .

Return: Nothing.

MSG_META_MOUSE_DRAG

@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.

yPosition
Y-coordinate of mouse event.
inputState
High byte is a ShiftState ; low byte is ButtonInfo .

Return: Nothing.


Up: GEOS SDK TechDocs | Up | Prev: 3.1 Window Messages | Next: 3.3 UI Messages