Share via


IXRUIElement::ReleaseMouseCapture (Windows Embedded CE 6.0)

1/6/2010

This method removes mouse capture from this UI element, which typically means that no UI element holds mouse capture.

Syntax

virtual HRESULT STDMETHODCALLTYPE ReleaseMouseCapture() = 0;

Parameters

None.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method releases mouse capture for an object that has captured the mouse by calling IXRUIElement::CaptureMouse. When an object has captured the mouse, it receives mouse input whether or not the pointer is within its bounds.

Calling ReleaseMouseCapture on an object that did not have mouse capture has no effect.

.NET Framework Equivalent

System.Windows.UIElement.ReleaseMouseCapture

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement
IXRUIElement::CaptureMouse