Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FINDTEXTEX 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 _findtextex {
  CHARRANGE chrg;
  LPCTSTR   lpstrText;
  CHARRANGE chrgText;
} FINDTEXTEX;

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

Unicode and ANSI names

FINDTEXTEXW (Unicode) and FINDTEXTEXA (ANSI)

See also

Reference
EM_FINDTEXTEX
EM_FINDTEXTEXW

 

 

Community Additions

ADD
Show:
© 2015 Microsoft