Partager via


InkCollectorEventInterest

4/8/2010

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

Syntax

enum InkCollectorEventInterest {
  ICEI_DefaultEvents = -1,
  ICEI_Stroke = ICEI_DefaultEvents + 1,
  ICEI_MouseDown = ICEI_Stroke + 1,
  ICEI_MouseMove = ICEI_MouseDown + 1,
  ICEI_MouseUp = ICEI_MouseMove + 1,
  ICEI_DblClick = ICEI_MouseUp + 1,
  ICEI_AllEvents = ICEI_DblClick + 1
} InkCollectorEventInterest;

Elements

  • ICEI_DefaultEvents
    Specifies that the ink collector is interested in the IInkOverlay::Stroke event.
  • ICEI_Stroke
    Specifies that a new stroke is drawn.
  • 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_DblClick
    Specifies that the IInkOverlay object was double–clicked.
  • ICEI_AllEvents
    Specifies that the ink collector recognizes all events.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference