Share via


SystemGesture Event [InkPicture Control]

SystemGesture Event [InkPicture Control]

Occurs when a system gesture is recognized.

Remarks

System gestures give information about the IInkCursor object that is being used to create the gesture. They also provide shortcuts to combinations of mouse events and are ways to detect mouse events with less impact on performance.

For example, instead of looking for a MouseUp/MouseDown pair of events with no other mouse events occurring in between, you can look for the Tap or RightTap system gestures.

As another example, instead of listening for MouseDown/MouseMove events and getting numerous MouseMove messages, you can watch for the Drag or RightDrag system gestures as long as you're not interested in the (x, y) coordinates of every position of the mouse. This allows you to receive only one message instead of numerous MouseMove messages.

For further details about this event, refer to the InkCollector object's SystemGesture event, which has the same functionality.

Applies To