Skip to content

Latest commit

 

History

History
86 lines (50 loc) · 2.71 KB

inkpicture-cursordown.md

File metadata and controls

86 lines (50 loc) · 2.71 KB
description ms.assetid title ms.topic ms.date
InkPicture.CursorDown event - Occurs when the cursor tip contacts the digitizing tablet surface.
6d524400-1341-45da-86b2-098e34ed5a1c
InkPicture.CursorDown event (Msinkaut.h)
reference
05/31/2018

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