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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft