MLN SEARCHPAUSE: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:MLN_SEARCHPAUSE}} The MLN_SEARCHPAUSE notification message is sent periodically while a multiple-line entry field (MLE) searches as a result of an ML~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 t..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:MLN_SEARCHPAUSE}} | {{DISPLAYTITLE:MLN_SEARCHPAUSE}} | ||
The MLN_SEARCHPAUSE notification message is sent periodically while a multiple-line entry field (MLE) searches as a result of an | 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== | ==Parameters== |
Latest revision as of 03:42, 28 April 2025
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 */