BCGControlBar Pro for MFC
BOOL CBCGPGestureManager::SetGestureConfig ( HWND  hwnd,
const CBCGPGestureConfig config,
BOOL  bLegacyGestures = FALSE 
)

Configures the messages that are sent from a window for Windows Touch gestures.

Parameters
hwndA handle to the window to set the gesture configuration on.
configSpecifies the gesture configuration.
bLegacyGesturesSpecifies whether the legacy gestures are used.
Returns
TRUE if it succeeds, FALSE if it fails.