Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

EM_GETSELTEXT message

Retrieves the currently selected text in a rich edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a buffer that receives the selected text. The calling application must ensure that the buffer is large enough to hold the selected text.

Return value

This 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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft