IGestureRecognizer::EnableGestures method (rtscom.h)

Sets a value that indicates to which application gestures the GestureRecognizer Class object responds.

Syntax

HRESULT EnableGestures(
  [in] ULONG     cGestures,
  [in] const int *pGestures
);

Parameters

[in] cGestures

The size of the array to which the pGestures parameter points. Valid values are between 0 and 64, inclusive.

[in] pGestures

An array of the InkApplicationGesture Enumeration values that indicates to which application gestures the GestureRecognizer Class object responds.

Return value

For a description of return values, see RealTimeStylus Classes and Interfaces.

Remarks

You cannot enable AllGestures in conjunction with any other gestures.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header rtscom.h
DLL RTSCom.dll

See also

DynamicRenderer Class

GestureRecognizer Class

IGestureRecognizer

IGestureRecognizer::Enabled Property