TEXTRANGE

The TEXTRANGE structure receives 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 teminating null character.

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

Members

chrg
Range of characters to get.
lpstrText
Pointer to buffer to receive the text.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.
  Unicode: Defined as Unicode and ANSI structures.

See Also

Rich Edit Controls Overview, Rich Edit Structures, EM_GETTEXTRANGE