Compartilhar via


WM_PASTE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

WM_PASTE wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WM_CLEAR
WM_COPY
WM_CUT
Clipboards Messages