msos2.hlp (Table of Contents; 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.
MOUSEMSG (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WININPUT
 
struct _MOUSEMSG {
    USHORT codeHitTest;     /* mp2 */
    USHORT unused;
    SHORT  x;               /* mp1 */
    SHORT  y;
};
 
The MOUSEMSG structure contains the message parameters passed with the
WM_MOUSEMOVE message. Unlike other MS OS/2 structures, this structure is not
defined as a type.
 
Field        Description
────────────────────────────────────────────────────────────────────────────
 
codeHitTest  Specifies the result of a WM_HITTEST message, or zero if a
             mouse capture is in progress.
 
unused       This field is not used.
 
x            Specifies the horizontal mouse coordinate relative to the
             window's lower-left corner.
 
y            Specifies the vertical mouse coordinate relative to the
             window's lower-left corner.
 
See Also
 
WM_MOUSEMOVE, MOUSEMSG