IInkEdit::SetGestureStatus method (inked.h)
Modifies the interest of the InkEdit control in a known application gesture.
Syntax
HRESULT SetGestureStatus(
[in] InkApplicationGesture Gesture,
[in] VARIANT_BOOL Listen
);
Parameters
[in] Gesture
The IInkGesture object that you want the status of.
[in] Listen
VARIANT_TRUE to indicate that the InkEdit control uses the application gesture; otherwise, VARIANT_FALSE.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The input parameter was incorrect. |
|
InkEdit status must be IES_Idle. |
|
An exception occurred. |
|
Unsupported gesture. |
|
The flag is invalid. |
|
Cannot allocate memory operation. |
Remarks
The IAG_AllGestures gesture is not supported by the InkEdit control and returns an error. Passing invalid gesture identifiers does not return an error.
This method should only be called if the Status property returns IES_Idle.
To get the interest of the InkEdit control in a known gesture, call the GetGestureStatus method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | inked.h |
Library | InkEd.dll |
See also
GetGestureStatus Method [InkEdit Control]