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.
MLN_SEARCHPAUSE (1.2)
Notification Group  Overview                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
WM_CONTROL
id = (USHORT) SHORT1FROMMP(mp1);         /* MLE-window ID      */
usNotifyCode = MLN_SEARCHPAUSE;
lCurOffset = (ULONG) LONGFROMMP(mp2);    /* position of search */
 
The MLN_SEARCHPAUSE notification message is sent periodically while a
multiple-line entry field (MLE) searches as a result of an MLM_SEARCH
message. An application can use this message to terminate the search.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
id            Low word of mp1. Identifies the MLE window.
 
usNotifyCode  High word of mp1. Set to MLN_SEARCHPAUSE.
 
lCurOffset    Low and high word of mp2. Specifies the offset (number of
              characters from the beginning of the text) of the current
              character being searched for.
 
Return Value
 
The application should return FALSE to continue the search or TRUE to
terminate the search.
 
See Also
 
MLM_SEARCH, WM_CONTROL