IInkCursorButton Interface

IInkCursorButton interface

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

Members

The IInkCursorButton interface inherits from the IUnknown interface. IInkCursorButton also has these types of members:

Properties

The IInkCursorButton interface has these properties.

PropertyAccess typeDescription

Id

Read-only

Gets the identifier of the IInkCursorButton object.

Name

Read-only

Gets the name of the IInkCursorButton object.

State

Read-only

Gets the state of the IInkCursorButton object, such as whether the button is unavailable, up, or down.

 

Remarks

An 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.

If you define a class that implements this interface, the new class will not interact correctly with the Tablet PC application programming interfaces (APIs).

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

Buttons Property
IInkCursor Interface
IInkCursorButtons Interface

 

 

Show:
© 2016 Microsoft