InkEdit.MousePointer property

Gets or sets a value indicating the type of mouse pointer to be displayed.

This property is read/write.


HRESULT put_MousePointer(
  [in]          InkMousePointer MousePointer

HRESULT get_MousePointer(
  [out, retval] InkMousePointer *MousePointer

Property value

The type of mouse pointer that appears.

The default value is IMP_Default


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.


Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported


Inked.h (also requires inked_i.c)



See also