Export (0) Print
Expand All
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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.