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.
MLEOVERFLOW (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
typedef struct _MLEOVERFLOW {    /* mleovr */
   ULONG afErrInd;
   LONG nBytesOver;
   LONG pixHorzOver;
   LONG pixVertOver;
}  MLEOVERFLOW;
 
The MLEOVERFLOW structure contains information about overflow in a
multiple-line entry field (MLE).
 
Field        Description
────────────────────────────────────────────────────────────────────────────
 
afErrInd     Specifies the cause of the error. This parameter can be one of
             the following values:
 
             Value             Meaning
             ───────────────────────────────────────────────────────────────
             MLFEFR_RESIZE     The overflow was the result of a resize
                               operation that overflowed a format
                               rectangle.
 
             MLFEFR_TABSTOP    The overflow was the result of resetting tab
                               stops that overflowed a format rectangle.
 
             MLFEFR_FONT       The overflow was the result of changing font
                               information.
 
             MLFEFR_TEXT       The overflow was the result of a text
                               insertion operation with the format rectangle
                               set.
 
             MLFEFR_WORDWRAP   The overflow was the result of setting word
                               wrap while the MLE text exceeds the format
                               rectangle.
 
             MLFETL_TEXTBYTES  The overflow was the result of a text
                               insertion operation with the text limit set.
 
nBytesOver   Specifies the number of bytes that overflowed.
 
pixHorzOver  Specifies the number of pels that overflowed horizontally.
 
pixVertOver  Specifies the number of pels that overflowed vertically.
 
See Also
 
MLN_OVERFLOW, WM_CONTROL