MLM PASTE
Appearance
This message replaces the text that forms the current selection, with text from the clipboard.
Syntax
param1 ULONG ulReserved; /* Reserved value, should be 0. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulReserved (ULONG) - input
- Reserved value, should be 0.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulCopy (ULONG) - return
- Number of bytes transferred, counted in CF_TEXT format.
Remarks=
The multi-line entry field control window procedure responds to this message by replacing the selected text with text from the clipboard. The text is translated from standard clipboard format, which is the same as importing with MLE_CFTEXT format.
The text is assumed to be in the clipboard as a single contiguous data segment. This restricts the amount to the maximum segment size (64Kb).
This can cause an overflow, see MLN_OVERFLOW.
Default Processing
The default window procedure takes no action on this message, other than to set ulCopy to 0.