WM_BUTTON2UP (1.2)
◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WININPUT
WM_BUTTON2UP
x = (SHORT) SHORT1FROMMP(mp1); /* horizontal position */
y = (SHORT) SHORT2FROMMP(mp1); /* vertical position */
The WM_BUTTON2UP message is sent when the user releases the second mouse
button. On a two-button mouse, the second button is the right button.
Parameter Description
────────────────────────────────────────────────────────────────────────────
x Low word of mp1. Indicates the horizontal position of the mouse
pointer (in window coordinates).
y High word of mp1. Indicates the vertical position of the mouse
pointer (in window coordinates).
Return Value
An application should return TRUE if it processes this message.
See Also
WM_BUTTON2DBLCLK, WM_BUTTON2DOWN, WM_HITTEST
♦