The WM_CHANGECBCHAIN message is sent to the first window in the clipboard viewer chain when a window is being removed from the chain.
WM_CHANGECBCHAIN hwndRemove = (HWND) wParam; // handle of window being removed hwndNext = (HWND) lParam; // handle of next window in chain
If an application processes this message, it should return zero.
Each clipboard viewer window saves the handle of the next window in the clipboard viewer chain. Initially, this handle is the return value of the SetClipboardViewer function.
When a clipboard viewer window receives the WM_CHANGECBCHAIN message, it should call the SendMessage function to pass the message to the next window in the chain, unless the next window is the window being removed. In this case, the clipboard viewer should save the handle specified by hwndNext as the next window in the chain.
SendMessage, SetClipboardViewer
file: /Techref/os/win/api/win32/mess/src/msg22_8.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/29 05:09,
3.147.62.5: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/msg22_8.htm"> WM_CHANGECBCHAIN</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.