windows_programming_notes.nbk: Home | Index | Next Page: WM_CHANGECBCHAIN | Previous Page: WM_CANCELMODE
The WM_CAPTURECHANGED message is sent to the window that is losing the mouse capture.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc( HWND hwnd, // handle to window UINT uMsg, // WM_CAPTURECHANGED WPARAM wParam, // not used LPARAM lParam // handle to window (HWND) );
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.
windows_programming_notes.nbk: Home | Index | Next Page: WM_CHANGECBCHAIN | Previous Page: WM_CANCELMODE
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time