EM_FINDTEXTEX

Finds text within a rich edit control.

EM_FINDTEXTEX 
wParam = (WPARAM) (UINT) fuFlags; 
lParam = (LPARAM) (FINDTEXTEX FAR *) lpFindText; 
 

Parameters

fuFlags
Zero or more of the FR_MATCHCASE and FR_WHOLEWORD values.
lpFindText
Address of a FINDTEXTEX structure containing information about the find operation.

Return Values

Returns the zero-based character position of the next match or – 1 if there are no more matches.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.
  Unicode: Defined as Unicode and ANSI messages.

See Also

Rich Edit Controls Overview, Rich Edit Messages, FINDTEXTEX