Share via


WM_CUT (Windows CE 5.0)

Send Feedback

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_CUT wParam = 0;lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Values

None.

Remarks

The deletion performed by the WM_CUT message can be undone by sending the edit control an EM_UNDO message.

To delete the current selection without placing the deleted text on the clipboard, use the WM_CLEAR message.

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

EM_UNDO | WM_CLEAR | WM_COPY | WM_PASTE | Clipboards Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.