Share via


IXRFrameworkElement::GetCursor (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetCursor(
    XRCursor* pCursor
) = 0;

Parameters

  • pCursor
    [out] Pointer to an 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