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.
MLEMARGSTRUCT (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
typedef struct _MLEMARGSTRUCT {    /* mlemrg */
    USHORT afMargins;
    USHORT usMouMsg;
    IPT    iptNear;
} MLEMARGSTRUCT;
 
The MLEMARGSTRUCT structure contains data used by the MLN_MARGIN message to
notify an application when the user moves the mouse to one of the margins.
 
Field      Description
────────────────────────────────────────────────────────────────────────────
 
afMargins  Specifies the margin. This field can be one of the following
           values:
 
           Value             Meaning
           ─────────────────────────────────────────────────────────────────
           MLFMARGIN_LEFT    The mouse was moved over the left margin.
 
           MLFMARGIN_RIGHT   The mouse was moved over the right margin.
 
           MLFMARGIN_TOP     The mouse was moved over the top margin.
 
           MLFMARGIN_BOTTOM  The mouse was moved over the bottom margin.
 
usMouMsg   Specifies the mouse message associated with the move.
 
iptNear    Specifies the offset (number of characters from the beginning of
           the text) of the character nearest to the mouse.
 
See Also
 
MLN_MARGIN, WM_CONTROL