An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection, if any, from the edit control.
WM_CLEAR 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_CLEAR message can be undone by sending the edit control an EM_UNDO message.
To delete the current selection and place the deleted content on the clipboard, use the WM_CUT message.
When sent to a combo box, the WM_CLEAR 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_COPY, WM_CUT, WM_PASTE
file: /Techref/os/win/api/win32/mess/src/msg22_15.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 18:25,
18.189.192.220:LOG IN
|
©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://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg22_15.htm"> WM_CLEAR</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.