An application sends a WM_CUT message 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_TEXT format.
WM_CUT wParam = 0; // not used; must be zero lParam = 0; // not used; must be zero
This message has no parameters.
This message does not return a value.
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.
EM_UNDO, WM_CLEAR, WM_COPY, WM_PASTE
Comments:
file: /Techref/os/win/api/win32/mess/src/msg23_3.htm, 1KB, , updated: 2008/1/18 12:35, local time: 2024/11/7 12:38,
18.224.54.148:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/mess/src/msg23_3.htm"> WM_CUT</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.