An application sends a WM_PASTE message to an edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. Data is inserted only if the clipboard contains data in CF_TEXT format.
WM_PASTE 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.
When sent to a combo box, the WM_PASTE message is handled by its edit control. This message has no effect when sent to a combo box with the CBS_DROPDOWNLIST style.
file: /Techref/os/win/api/win32/mess/src/msg26_27.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/28 20:54,
3.147.76.250: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://techref.massmind.org/techref/os/win/api/win32/mess/src/msg26_27.htm"> WM_PASTE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.