EM_FINDTEXTW message
Finds Unicode text within a rich edit control.
Parameters
-
wParam
-
Specifies the parameters of the search operation. This parameter can be one or more of the following values.
Value Meaning - FR_DOWN
If set, the operation searches from the end of the current selection to the end of the document. If not set, the operation searches from the end of the current selection to the beginning of the document. - FR_MATCHALEFHAMZA
By default, Arabic and Hebrew alefs with different accents are all matched by the alef character. Set this flag if you want the search to differentiate between alefs with different accents. - FR_MATCHCASE
If set, the search operation is case-sensitive. If not set, the search operation is case-insensitive. - FR_MATCHDIAC
By default, Arabic and Hebrew diacritical marks are ignored. Set this flag if you want the search operation to consider diacritical marks. - FR_MATCHKASHIDA
By default, Arabic and Hebrew kashidas are ignored. Set this flag if you want the search operation to consider kashidas. - FR_WHOLEWORD
If set, the operation searches only for whole words that match the search string. If not set, the operation also searches for word fragments that match the search string. -
lParam
-
A FINDTEXTW structure containing information about the find operation.
Return value
If the target string is found, the return value is the zero-based position of the first character of the match. If the target is not found, the return value is -1.
Remarks
EM_FINDTEXTW uses the FINDTEXTW structure, while EM_FINDTEXTEXW uses the FINDTEXTEXW structure. The difference is that FINDTEXTEXW reports back the range of text that was found.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|