Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EM_GETTEXTRANGE
Collapse the table of content
Expand the table of content

EM_GETTEXTRANGE message

Retrieves a specified range of characters from a rich edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a TEXTRANGE structure that specifies the range of characters to retrieve and a buffer to copy the characters to.

Return value

The message returns the number of characters copied, not including the terminating null character.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richedit.h

See also

TEXTRANGE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft