MLM_QUERYSELTEXT
Appearance
This message copies the currently selected text into a buffer.
Syntax
param1 PCHAR pchBuff; /* Character buffer for text string. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- pchBuff (PCHAR) - input
- Character buffer for text string.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulCount (ULONG) - return
- Number of bytes to put into text string.
Remarks
This message copies the currently selected text into the buffer pointed to by pchBuff. The text string is null-terminated. The byte count includes the text in CF_TEXT format (CR LF) and the null terminator.
Default Processing
The default window procedure takes no action on this message, other than to set ulCount to 0.