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