Upravit

Sdílet prostřednictvím


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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h