InkEdit.Stroke event
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
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
Library |
|