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

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

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

Unicode and ANSI names

TEXTRANGEW (Unicode) and TEXTRANGEA (ANSI)

See also

Reference
CHARRANGE
EM_GETTEXTRANGE

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.