IXRFrameworkElement::SetCursor (Windows Embedded CE 6.0)

1/6/2010

This method sets the cursor that is displayed while the mouse pointer is over this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCursor(
    XRCursor Cursor
) = 0;

Parameters

  • Cursor
    [in] XRCursor enumerated type that indicates the cursor that is displayed, such as XRCursor_Arrow or XRCursor_IBeam.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The cursor value can change based on the composition or implementation of specific controls. For example, any control that contains an IXRTextBox, or IXRTextBox itself, can affect the cursor displayed.

.NET Framework Equivalent

System.Windows.FrameworkElement.Cursor

Requirements

sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRFrameworkElement