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.
MLM_QUERYUNDO (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
MLM_QUERYUNDO
mp1 = 0L;    /* not used, must be zero */
mp2 = 0L;    /* not used, must be zero */
 
An application sends an MLM_QUERYUNDO message to determine if a
multiple-line entry-field (MLE) operation can be undone.
 
This message does not use any parameters.
 
Return Value
 
The return value is a 32-bit value that indicates whether an MLE operation
can be undone and, if so, which message can be undone. The low word contains
TRUE if the message can be undone or FALSE if the message was just undone.
The high word contains the message, or it contains zero if no message is
available to be undone. The following messages can be returned:
 
Message           Description
────────────────────────────────────────────────────────────────────────────
MLM_CLEAR         Indicates that the last MLM_CLEAR or MLM_DELETE message
                  can be undone.
 
MLM_CUT           Indicates that the last MLM_CUT message can be undone.
 
MLM_INSERT        Indicates that the last MLM_INSERT message can be undone.
 
MLM_PASTE         Indicates that the last MLM_PASTE message can be undone.
 
MLM_SETFONT       Indicates that the last MLM_SETFONT message can be
                  undone.
 
MLM_SETTEXTCOLOR  Indicates the last MLM_SETBACKCOLOR or MLM_SETTEXTCOLOR
                  message can be undone.
 
WM_CHAR           Indicates that the last character entered by the user can
                  be undone.
 
See Also
 
MLM_RESETUNDO, MLM_UNDO