Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TEXTRANGE

TEXTRANGE structure

A range of text from a rich edit control. This structure is filled in by the EM_GETTEXTRANGE message. The buffer pointed to by the lpstrText member must be large enough to receive all characters and the terminating null character.

Syntax


typedef struct _textrange {
  CHARRANGE chrg;
  LPSTR     lpstrText;
} TEXTRANGE;

Members

chrg

Type: CHARRANGE

The range of characters to retrieve.

lpstrText

Type: LPSTR

The text.

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

TEXTRANGEW (Unicode) and TEXTRANGEA (ANSI)

See also

Reference
CHARRANGE
EM_GETTEXTRANGE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft