Gesture

A default HRC enables all gestures. An application can disable certain gestures by calling the EnableGestureSetHRC function to change the gesture configuration for the HRC. The following example disables the gestures for cut, copy, and paste while enabling all other gestures:

iRet = EnableGestureSetHRC( hrc1, GST_ALL ^ GST_CLIP, TRUE );

For more information about EnableGestureSetHRC, see the reference section in Chapter 10, "Pen Application Programming Interface Functions."

The first argument of EnableGestureSetHRC is the HRC handle returned by CreateComptibleHRC. The second argument is a bitwise-OR value formed by the desired combination of GST_ constants, listed here:

Gesture constant
Description
GST_CLIP
Cut, copy, and paste.
GST_WHITE
Space, tab, and newline.
GST_SEL
Lasso selection.
GST_EDIT
Insert, correct, and undo.
GST_SYS
Combines all the above.
GST_CIRCLELO
Lowercase circle gestures.
GST_CIRCLEUP
Uppercase circle gestures.
GST_CIRCLE
Combines GST_CIRCLELO and GST_CIRCLEUP.
GST_ALL
Combines all the above.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database