Jump to content

MLM COPY

From EDM2

This message copies the current selection to 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 copying the selected text to the clipboard. The text is translated to standard clipboard format, which is the same as exporting with MLE_CFTEXT format.

The text is placed on the clipboard as a single contiguous data segment. This restricts the amount to the maximum segment size (64KB).

This may 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.