msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_BUTTON1UP (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WININPUT
 
WM_BUTTON1UP
x = (SHORT) SHORT1FROMMP(mp1);     /* horizontal position */
y = (SHORT) SHORT2FROMMP(mp1);     /* vertical position   */
 
The WM_BUTTON1UP message is sent when the user releases 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_BUTTON1DOWN, WM_HITTEST