Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MousePointer Property

InkCollector.MousePointer property

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

This property is read/write.

Syntax


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.

Error codes

NameMeaning
S_OK

Success.

E_POINTER

One of the parameters is an invalid pointer.

E_UNEXPECTED

Unexpected property type.

E_INVALIDARG

Invalid argument.

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

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkCollector
InkMousePointer Enumeration
MouseIcon Property

 

 

Community Additions

ADD
Show:
© 2015 Microsoft