共用方式為


Clipboards Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Clipboards Reference