次の方法で共有


Gesture Flags and Constants (Compact 2013)

3/28/2014

The following gesture flags indicate the state of a gesture. You can retrieve or set these flags in the dwFlags member of a GESTUREINFO structure.

Name

Value

Description

GF_BEGIN

0x00000001

Indicates the start of a gesture.

GF_INERTIA

0x00000002

Indicates that a pan gesture has transitioned to a flick gesture.

GF_END

0x00000004

Indicates the end of a gesture.

GF_SYMMETRIC

0x00000010

Indicates a symmetric gesture (two contact points with identical actions).

GF_SYNC

8

Indicates a gesture sent directly to the window procedure.

The following constants indicate the direction of a flick gesture.

Name

Value

Description

ARG_SCROLL_NONE

0

Indicates that a flick gesture is scrolling on both the x-axis and the y-axis.

ARG_SCROLL_DOWN

1

Indicates that a flick gesture is scrolling down on the y-axis.

ARG_SCROLL_LEFT

2

Indicates that a flick gesture is scrolling left on the x-axis.

ARG_SCROLL_UP

3

Indicates that a flick gesture is scrolling up on the y-axis.

ARG_SCROLL_RIGHT

4

Indicates that a flick gesture is scrolling right on the x-axis.

The following constants indicate gesture animation status.

Name

Value

Description

GAST_ANIMATION_STARTED

1

Indicates that gesture animation is about to begin.

GAST_ANIMATION_STOPPED

2

Indicates that the gesture animation has stopped.

GAST_ANIMATION_INTERRUPTED

3

Indicates that the gesture animation was interrupted before it finished.

The following constant is used by the gesture engine.

Name

Value

Description

GID_MAX

63

Defines the maximum number of registered gestures.

Requirements

Header

touchgesture.h,
winuser.h

sysgen

SYSGEN_TOUCHGESTURE

See Also

Reference

Gesture Reference