Compartilhar via


IInkCursorButton Interface

IInkCursorButton Interface

Represents general information about a button on a tablet pointing and selecting device.

Members

Enumeration Description
InkCursorButtonState Defines values that specify the state of cursor buttons.
Property Description
Id Gets the identifier of the IInkCursorButton object.
Name Gets the name of the IInkCursorButton object.
State Gets the state of the IInkCursorButton object, such as whether the button is unavailable, up, or down.

Remarks

A IInkCursor can contain zero to 32 associated buttons, and these buttons are provided to an application as IInkCursorButton objects. Examples of cursor buttons are:

  • The writing end of a pen
  • The inverted (or "eraser") end of a pen
  • The barrel of a pen
  • The button on a pen

A single pen cursor with no barrel may consist of two cursor buttons: the writing end and the inverted end. Each button can have a specific function, and an application must know which button, by identifier, is being used before it can accept input from the cursor. For example, an application must know the identifier of the inverted end of the pen before strokes can be erased.

COM Implementation

This object implements the IInkCursorButton COM interface.