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
 
 
MOUSEMSG(pmsg)
 
The MOUSEMSG macro is used to access the WM_MOUSEMOVE message parameters.
This macro defines a MOUSEMSG structure pointer, which has the following
form:
 
struct _MOUSEMSG {
    USHORT codeHitTest;     /* mp2 */
    USHORT unused;
    SHORT  x;               /* mp1 */
    SHORT  y;
};
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pmsg       Points to the message received by the application's window
           procedure.
 
See Also
 
WM_MOUSEMOVE, MOUSEMSG