GetMouseMsg

This function is used to get a mouse message. If mouse message queue is empty, wait until a mouse message is available for retrieval.

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.

This function is obsolete and is declared only in graphics.h. It is recommended that use getmessage instead of the function.

Examples

See "Mouse operations" in Examples.

(贡献者:Krissi  编辑