DIRECTMANIPULATION_CONFIGURATION enumeration (directmanipulation.h)

Defines the interaction configuration states available in Direct Manipulation.

Syntax

typedef enum DIRECTMANIPULATION_CONFIGURATION {
  DIRECTMANIPULATION_CONFIGURATION_NONE = 0,
  DIRECTMANIPULATION_CONFIGURATION_INTERACTION = 0x1,
  DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_X = 0x2,
  DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_Y = 0x4,
  DIRECTMANIPULATION_CONFIGURATION_SCALING = 0x10,
  DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_INERTIA = 0x20,
  DIRECTMANIPULATION_CONFIGURATION_SCALING_INERTIA = 0x80,
  DIRECTMANIPULATION_CONFIGURATION_RAILS_X = 0x100,
  DIRECTMANIPULATION_CONFIGURATION_RAILS_Y = 0x200
} ;

Constants

 
DIRECTMANIPULATION_CONFIGURATION_NONE
Value: 0
No interaction is defined.
DIRECTMANIPULATION_CONFIGURATION_INTERACTION
Value: 0x1
An interaction is defined. To enable interactions, this value must be included.

Required when setting a configuration other than DIRECTMANIPULATION_CONFIGURATION_NONE.
DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_X
Value: 0x2
Translation in the horizontal axis.
DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_Y
Value: 0x4
Translation in the vertical axis.
DIRECTMANIPULATION_CONFIGURATION_SCALING
Value: 0x10
Zoom.
DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_INERTIA
Value: 0x20
Inertia for translation as defined by DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_X and DIRECTMANIPULATION_CONFIGURATION_TRANSLATION_Y.
DIRECTMANIPULATION_CONFIGURATION_SCALING_INERTIA
Value: 0x80
Inertia for zoom as defined by DIRECTMANIPULATION_CONFIGURATION _SCALING.
DIRECTMANIPULATION_CONFIGURATION_RAILS_X
Value: 0x100
Rails on the horizontal axis.
DIRECTMANIPULATION_CONFIGURATION_RAILS_Y
Value: 0x200
Rails on the vertical axis.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header directmanipulation.h

See also

ActivateConfiguration

AddConfiguration

Direct Manipulation Enumerations

RemoveConfiguration