Bagikan melalui


InkCollectorEventInterest Enumeration (Automation Only)

InkCollectorEventInterest Enumeration (Automation Only)

Defines values that are used to specify whether an event occurred on an ink collector and, if so, which event fired. To get the status of a given event, call the GetEventInterest method. To set the status of a given event, call the SetEventInterest method.

Declaration

[C++]

typedef enum InkCollectorEventInterest {
    ICEI_DefaultEvents = -1, // Stroke | CursorInRange | CursorOutOfRange
    ICEI_CursorDown = 0,
    ICEI_Stroke = 1,
    ICEI_NewPackets = 2,
    ICEI_NewInAirPackets = 3,
    ICEI_CursorButtonDown = 4,
    ICEI_CursorButtonUp = 5,
    ICEI_CursorInRange = 6,
    ICEI_CursorOutOfRange = 7,
    ICEI_SystemGesture = 8,
    ICEI_TabletAdded = 9,
    ICEI_TabletRemoved = 10,
    ICEI_MouseDown = 11,
    ICEI_MouseMove = 12,
    ICEI_MouseUp = 13,
    ICEI_MouseWheel = 14,
    ICEI_DblClick = 15,
    ICEI_AllEvents = 16
} InkCollectorEventInterest;

[Microsoft® Visual Basic® 6.0]

Enum InkCollectorEventInterest
    ICEI_DefaultEvents = -1  'Stroke | CursorInRange | CursorOutOfRange
    ICEI_CursorDown = 0
    ICEI_Stroke = 1
    ICEI_NewPackets = 2
    ICEI_NewInAirPackets = 3
    ICEI_CursorButtonDown = 4
    ICEI_CursorButtonUp = 5
    ICEI_CursorInRange = 6
    ICEI_CursorOutOfRange = 7
    ICEI_SystemGesture = 8
    ICEI_TabletAdded = 9
    ICEI_TabletRemoved = 10
    ICEI_MouseDown = 11
    ICEI_MouseMove = 12
    ICEI_MouseUp = 13
    ICEI_MouseWheel = 14
    ICEI_DblClick = 15
    ICEI_AllEvents = 16
End Enum

Members

The following tables list the enumeration values.

Name Description
ICEI_DefaultEvents Specifies that the ink collector is interested in the Stroke, CursorInRange, and CursorOutOfRange events.
ICEI_CursorDown Specifies that the ink collector detects a cursor down.
ICEI_Stroke Specifies that a new stroke is drawn on a tablet.
ICEI_NewPackets Specifies that the InkCollector receives a packet.
ICEI_NewInAirPackets Specifies that the ink collector detects an in-air packet.
ICEI_CursorButtonDown Specifies that the ink collector detects a cursor button down.
ICEI_CursorButtonUp Specifies that the ink collector detects a cursor button up.
ICEI_CursorInRange Specifies that a cursor is detected in range of a tablet.
ICEI_CursorOutOfRange Specifies that a cursor is detected leaving the range of a tablet.
ICEI_SystemGesture Specifies that the ink collector recognizes a system gesture.
ICEI_TabletAdded Specifies that a tablet was added to the system.
ICEI_TabletRemoved Specifies that a tablet was removed from the system.
ICEI_MouseDown Specifies that the mouse pointer is over the object and a mouse button is pressed.
ICEI_MouseMove Specifies that the mouse pointer is moved over the object.
ICEI_MouseUp Specifies that the mouse pointer is over the object and a mouse button is released.
ICEI_MouseWheel Specifies that the mouse wheel moves while the object has focus.
ICEI_DblClick Specifies that the object was double-clicked.
ICEI_AllEvents Specifies that the ink collector recognizes all events.

In Visual Basic 6.0, this flag does not appear in the Object Browser or the IntelliSense menus. However, it can still be accessed by name.