Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

Unicode and ANSI names

FINDTEXTEXW (Unicode) and FINDTEXTEXA (ANSI)

See also

Reference
EM_FINDTEXTEX
EM_FINDTEXTEXW

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.