get_message_position


unsigned get_message_position()

This function obtains the screen coordinates of the cursor position.

Return

unsigned

low part The x-coordinate of the cursor position.
high part The y-coordinate of the cursor position.

Notes

The position retrieved is the position of the cursor when the most recent message was obtained. The coordinates returned are signed 16 bit values.