ulStyle (ULONG)
Style
flags.
MLFSEARCH_CASESENSITIVE
If set, only exact matches
are considered a successful match. If not set, any case-combination of
the correct characters in the correct sequence is considered a successful
match.
MLFSEARCH_SELECTMATCH
If
set, the MLE selects the text and scrolls it into view when found, just
as if the application had sent an MLM_SETSEL
message. This is not done if MLFSEARCH_CHANGEALL is also indicated.
MLFSEARCH_CHANGEALL
Using
the MLE_SEARCHDATA structure specified
in pse, all occurrences of pchFind are found, searching from
iptStart to iptStop, and replacing them with pchReplace.
If this style is selected, the cchFound field has no meaning, and
the iptStart value points to the place where the search stopped,
or is the same as iptStop because the search has not been stopped
at any of the found strings. The current cursor location is not moved. However,
any existing selection is deselected.
pse (PMLE_SEARCHDATA)
Search
specification structure.
rc (BOOL)
Success
indicator.
TRUE
The search was successful.
FALSE
The search was unsuccessful.
[Back]
[Next]