Compartilhar via


Clipboard Messages (Compact 2013)

3/28/2014

The following table shows the clipboard messages, with a description of the purpose of each.

Programming element

Description

WM_CLEAR

This message is sent by an application to an edit control or combo box to delete, or clear, the current selection, if any, from the edit control.

WM_COPY

This message is sent by an application to an edit control or combo box to copy the current selection to the clipboard in CF_UNICODETEXT format.

WM_CUT

This message is sent by an application to an edit control or combo box to delete (cut) the current selection, if any, in the edit control and copy the deleted text to the clipboard in CF_UNICODETEXT format.

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.

WM_RENDERALLFORMATS

This message is sent to the clipboard owner before it is destroyed, if the clipboard owner has delayed rendering one or more clipboard formats.

WM_RENDERFORMAT

This message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format.

See Also

Reference

Clipboard Reference