WM_BUTTON2DOWN (1.2)
◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WININPUT
WM_BUTTON2DOWN
x = (SHORT) SHORT1FROMMP(mp1); /* horizontal position */
y = (SHORT) SHORT2FROMMP(mp1); /* vertical position */
The WM_BUTTON2DOWN message is sent when the user clicks 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_BUTTON2UP, WM_HITTEST
♦