WM_CAPTURECHANGED

This message is sent to the window losing the capture.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

WM_CAPTURECHANGED hwndNewCapture = (HWND) lParam;

Parameters

hwndNewCapture

Handle to the window gaining the mouse capture

Return Values

An application should return zero if it processes this message.

Remarks

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.

See Also

ReleaseCapture, SetCapture