MLN_SEARCHPAUSE
Appearance
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.
Parameters
- id
- Low word of mpl. Identifies the MLE window.
- usNotifyCode
- High word of mp1. Set to MLN_SEARCHPAUSE.
- ICurOffset
- 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.
Returns
The application should return FALSE to continue the search or TRUE to terminate the search
Example Code
WM_CONTROL id = (USHORT) SHORT1FROMMP(mp1); /* MLE-window ID */ usNotifyCode = MLN_SEARCHPAUSE; lCurOffset = (ULONG) LONGFROMMP(mp2); /* position of search */