The WM_CAPTURECHANGED message is sent to the window that is losing the mouse capture.
WM_CAPTURECHANGED hwndNewCapture = (HWND) lParam; // handle of window to gain mouse capture
An application should return zero if it processes this message.
A window receives this message even if it calls ReleaseCapture itself. An application should not attempt to set the mouse capture in response to this message.
When it receives this message, a window should redraw itself, if necessary, to reflect the new mouse-capture state.
file: /Techref/os/win/api/win32/mess/src/msg22_7.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/28 15:33,
13.59.58.68: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_7.htm"> WM_CAPTURECHANGED</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.