IInkCollector::get_MousePointer method (msinkaut.h)

Gets or sets a value that indicates the type of mouse pointer that appears.

This property is read/write.

Syntax

HRESULT get_MousePointer(
  InkMousePointer *MousePointer
);

Parameters

MousePointer

Return value

None

Remarks

If you set the MousePointer property to IMP_Default, the mouse cursor setting is based on the current cursor's drawing attributes. If the ink collector is disabled, the mouse cursor setting is based on the underlying windows mouse cursor DrawingAttributes property. If the MousePointer property is set to IMP_Custom and the MouseIcon property is NULL, then the ink collector no longer handles mouse cursor settings. Setting the mouse cursor to any other setting (other than the MousePointer property set to IMP_Default and the MouseIcon property set to NULL) forces the mouse cursor to use the current setting.

You can use this property when you want to indicate changes in functionality as the mouse pointer passes over controls on a form or dialog box. The IMP_Hourglass setting is useful for indicating that the user should wait for a process or operation to finish.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

IInkCollector

InkCollector

InkMousePointer Enumeration

MouseIcon Property