WM_PASTE
wParam = 0; /* not used, must be zero */
lParam = 0L; /* not used, must be zero */
An application sends the WM_PASTE message to an edit control or combo box to insert the data from the clipboard into the edit control at the current cursor position. Data is inserted only if the clipboard contains data in CF_TEXT format.
This message has no parameters.
The return value is nonzero if this message is sent to an edit control or a combo box.
This example pastes data from the clipboard to an edit control:
SendDlgItemMessage
(hdlg, IDD_MYEDITCONTROL, WM_PASTE, 0, 0L);