Muokkaa

Jaa


WM_CAPTURECHANGED message

Sent to the window that is losing the mouse capture.

A window receives this message through its WindowProc function.

#define WM_CAPTURECHANGED               0x0215

Parameters

wParam

This parameter is not used.

lParam

A handle to the window gaining the mouse capture.

Return value

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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

ReleaseCapture

SetCapture

Conceptual

Mouse Input