GetMouseMsg

The function is used to get a mouse message. if mouse message queue is empty, wait until there is a mouse message.

MOUSEMSG GetMouseMsg();

Parameters

None

Return Value

Returns the structure that holds the mouse message.

Remarks

By default, consecutive mouse clicks are recognized as a series of click events. If you want two consecutive mouse clicks to recognize as a double-click event, specify the flag bit EW_DBLCLKS when you create the drawing window.

Examples

See "Mouse operations" in Examples.