WM_PASTE

This message is sent by an application to an edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. Data is inserted only if the clipboard contains data in CF_UNICODETEXT format.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

WM_PASTE wParam = 0; lParam = 0;

Return Values

None

Remarks

When sent to a combo box, the WM_PASTE message is handled by its edit control. This message has no effect when sent to a combo box with the CBS_DROPDOWNLIST style.

See Also

WM_CLEAR, WM_COPY, WM_CUT