Export (0) Print
Expand All
Expand Minimize

InkOverlay.CursorOutOfRange event

Applies to: desktop apps only

Occurs when the cursor leaves the physical detection range (proximity) of the tablet context.

Syntax

void CursorOutOfRange(
  [in]  IInkCursor *Cursor
);

Parameters

Cursor [in]

The IInkCursor Interface object that generated the CursorOutOfRange event.

Return value

This event does not return a value.

Remarks

This event method is defined in the _IInkCollectorEvents, _IInkOverlayEvents, and _IInkPictureEvents dispatch-only interfaces (dispinterfaces) with an ID of DISPID_ICECursorOutOfRange.

The CursorOutOfRange event is fired even when in select or erase mode, not just when in ink mode. This requires that you monitor the editing mode (which you are responsible for setting) and be aware of the mode before interpreting the event. The advantage of this requirement is greater freedom to innovate on the platform through greater awareness of platform events.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkOverlay Class
CursorInRange Event
IInkCursor Interface

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft