Expand Minimize
2 out of 2 rated this helpful - Rate this topic

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

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.