MANIPULATION_PROCESSOR_MANIPULATIONS enumeration

The MANIPULATION_PROCESSOR_MANIPULATIONS enumeration different kinds of manipulation which can be applied on a target object.

Syntax


typedef enum  { 
  MANIPULATION_NONE         = 0x00000000,
  MANIPULATION_TRANSLATE_X  = 0x00000001,
  MANIPULATION_TRANSLATE_Y  = 0x00000002,
  MANIPULATION_SCALE        = 0x00000004,
  MANIPULATION_ROTATE       = 0x00000008,
  MANIPULATION_ALL          = 0x0000000F
} MANIPULATION_PROCESSOR_MANIPULATIONS;

Constants

MANIPULATION_NONE

Indicates that no manipulations are performed.

MANIPULATION_TRANSLATE_X

Indicates manipulation by moving the target across the horizontal axis.

MANIPULATION_TRANSLATE_Y

Indicates manipulation by moving the target across the vertical axis.

MANIPULATION_SCALE

Indicates manipulation by making the target larger or smaller.

MANIPULATION_ROTATE

Indicates manipulation by rotating the target.

MANIPULATION_ALL

Indicates all manipulations are enabled.

Remarks

Use this enumeration with the SupportedManipulations property to get and set the kind of manipulation data you want to receive from the IManipulationProcessor interface. You can combine different kinds of manipulations by a bitwise OR.

Examples



        CoInitialize(0);

        hr = spIManipProc.CoCreateInstance(CLSID_ManipulationProcessor, NULL, CLSCTX_ALL);

        MANIPULATION_PROCESSOR_MANIPULATIONS mpm;
        spIManipProc->get_SupportedManipulations(&mpm);    
        

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Manipulations.h (include Manipulations.h)

See also

Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft