IInkPicture::SetGestureStatus method (msinkaut.h)
Modifies the interest of the object or control in a known gesture.
Syntax
HRESULT SetGestureStatus(
[in] InkApplicationGesture Gesture,
[in] VARIANT_BOOL Listen
);
Parameters
[in] Gesture
The gesture that you want to set the status of.
[in] Listen
VARIANT_TRUE to indicate that the gesture is being used; VARIANT_FALSE to indicate the gesture is being ignored.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
InkCollector collection mode must be in gesture mode. |
|
An exception occurred. |
|
Unsupported gesture. |
|
The flag is invalid. |
|
Cannot allocate memory operation. |
Remarks
To get the interest of the object or control in a known gesture, call the GetGestureStatus method.
The IAG_AllGestures gesture ID is not supported by the InkEdit control and returns an error. Passing invalid Gesture IDs does not return an error for InkEdit, but fails for InkCollector, InkOverlay, and InkPicture.
For the InkEdit control, this method should only be called if the Status property returns IES_Idle.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |