Share via


WM_CAPTURECHANGED (Windows CE 5.0)

Send Feedback

This message is sent to the window losing the capture.

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 the window calls ReleaseCapture itself. An application should not attempt to set the mouse capture in response to this message.

When a window receives this message, the window should redraw itself to reflect the new mouse-capture state, if necessary.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windows.h.

See Also

ReleaseCapture | SetCapture

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.