FLICK_DATA structure (tabflicks.h)

Contains information about a pen flick.

Syntax

typedef struct FLICK_DATA {
  FLICKACTION_COMMANDCODE iFlickActionCommandCode : 5;
  FLICKDIRECTION          iFlickDirection : 3;
  BOOL                    fControlModifier : 1;
  BOOL                    fMenuModifier : 1;
  BOOL                    fAltGRModifier : 1;
  BOOL                    fWinModifier : 1;
  BOOL                    fShiftModifier : 1;
  INT                     iReserved : 2;
  BOOL                    fOnInkingSurface : 1;
  INT                     iActionArgument : 16;
} FLICK_DATA;

Members

iFlickActionCommandCode

The flick action assigned to the pen flick.

iFlickDirection

The direction of the pen flick.

fControlModifier

TRUE if the pen flick action activates the CTRL key; otherwise, FALSE.

fMenuModifier

TRUE if the pen flick action activates the ALT key; otherwise, FALSE.

fAltGRModifier

TRUE if the pen flick action activates the ALT GR key; otherwise, FALSE.

fWinModifier

TRUE if the pen flick action activates the Windows Logo key; otherwise, FALSE.

fShiftModifier

TRUE if the pen flick action activates the SHIFT key; otherwise, FALSE.

iReserved

Do not use.

fOnInkingSurface

TRUE if the pen flick is sent to an inking surface; otherwise, FALSE.

iActionArgument

Contains additional information about iFlickActionCommandCode.

Remarks

Windows Vista sends the FLICK_DATA structure to an application along with the WM_TABLET_FLICK Message when a pen flick occurs.

The value of iActionArgument depends on the value of iFlickActionCommandCode. For example, if iFlickCommandCode is FLICKACTION_COMMANDCODE_SCROLL, the value of iActionArgument is one of the values in the SCROLLDIRECTION Enumeration.

If iFlickCommandCode is FLICKACTION_COMMANDCODE_CUSTOMKEY, the value of iActionArgument indicates the key stroke. The fControlModifier, fMenuModifier, fAltGRModifier, fWinModifier, and fShiftModifier fields indicate whether the pen action activates a modifier key. For example, if the user assigns a pen flick to the key stroke, CTRL+N, fControlModifier is true and iActionArgument is the virtual code key, VK_N.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header tabflicks.h

See also

FLICKACTION_COMMANDCODE Enumeration

flickdirection enumeration

flicks gestures

responding to pen flicks

wm_tablet_flick message