FINDTEXTEXW structure

Contains information about text to search for in a rich edit control. This structure is used with the EM_FINDTEXTEX message.

Syntax

typedef struct _findtextexw {
  CHARRANGE chrg;
  LPCWSTR   lpstrText;
  CHARRANGE chrgText;
} FINDTEXTEXW;

Members

chrg

Type: CHARRANGE

The range of characters to search. To search forward in the entire control, set cpMin to 0 and cpMax to -1.

lpstrText

Type: LPCTSTR

The null-terminated string to find.

chrgText

Type: CHARRANGE

The range of characters in which the text was found. If the text was not found, cpMin and cpMax are -1.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header richedit.h

See Also

EM_FINDTEXTEX

EM_FINDTEXTEXW

Reference