1 out of 2 rated this helpful - Rate this topic

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

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

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.