Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

InkEdit.Stroke event

Applies to: desktop apps only

Occurs when the user draws a new IInkStrokeDisp object on any IInkTablet object.

Syntax

HRESULT Stroke(
  [in]       IInkCursor *Cursor,
  [in]       IInkStrokeDisp *Stroke,
  [in, out]  VARIANT_BOOL *Cancel
);

Parameters

Cursor [in]

The IInkCursor object.

Stroke [in]

The collected IInkStrokeDisp object.

Cancel [in, out]

VARIANT_TRUE to cancel the collection of the IInkStrokeDisp object; VARIANT_FALSE to collect the IInkStrokeDisp object and continue with the Stroke even.

Return value

If this event succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This event method is defined in the _IInkEditEvents interface. The _IInkEditEvents interface implements the IDispatch interface with an identifier of DISPID_IeeStroke.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Inked.h (also requires inked_i.c)

Library

InkEd.dll

See also

InkEdit
IInkCursor Interface
IInkStrokeDisp Interface

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.