Upravit

Sdílet prostřednictvím


InkPicture.CursorDown event

Occurs when the cursor tip contacts the digitizing tablet surface.

Syntax

void CursorDown(
  [in] IInkCursor     *Cursor,
  [in] IInkStrokeDisp *Stroke
);

Parameters

Cursor [in]

The IInkCursor object that generated the CursorDown event.

Stroke [in]

The IInkStrokeDisp object that was started when the IInkCursor object caused the CursorDown event to fire.

Return value

This event does not return a value.

Remarks

These event methods are defined in the _IInkCollectorEvents, _IInkOverlayEvents, and _IInkPictureEvents interfaces. The _IInkCollectorEvents, _IInkOverlayEvents, and _IInkPictureEvents interfaces implements the IDispatch interface with an identifier of DISPID_ICECursorDown.

Use this event carefully because it could have an adverse effect on ink performance if too much code is executed in the event handlers. To improve real-time ink performance, hide or show the mouse cursor in the MouseDown and MouseUp event handlers.

Requirements

Requirement Value
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

InkPicture

CursorButtonUp Event

CursorButtonDown Event

IInkCursor Interface

IInkStrokeDisp Interface