DIRECTMANIPULATION_HITTEST_TYPE enumeration

Defines how hit testing is handled by Direct Manipulation when using a dedicated hit-test thread registered through RegisterHitTestTarget.

Syntax


typedef enum DIRECTMANIPULATION_HITTEST_TYPE { 
  DIRECTMANIPULATION_HITTEST_TYPE_ASYNCHRONOUS      = 0x00000000,
  DIRECTMANIPULATION_HITTEST_TYPE_SYNCHRONOUS       = 0x00000001,
  DIRECTMANIPULATION_HITTEST_TYPE_AUTO_SYNCHRONOUS  = 0x00000002
} DIRECTMANIPULATION_HITTEST_TYPE;

Constants

DIRECTMANIPULATION_HITTEST_TYPE_ASYNCHRONOUS

The hit-test thread receives WM_POINTERDOWN messages and specifies whether to call SetContact. If SetContact is not called, the contact will not be associated with a viewport.

DIRECTMANIPULATION_HITTEST_TYPE_SYNCHRONOUS

The UI thread always receives WM_POINTERDOWN messages after the hit-test thread. A call to SetContact is not required.

DIRECTMANIPULATION_HITTEST_TYPE_AUTO_SYNCHRONOUS

The UI thread receives WM_POINTERDOWN messages only when SetContact isn't called by the hit-test thread.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Directmanipulation.h

IDL

DirectManipulation.idl

See also

Direct Manipulation Enumerations

 

 

Community Additions

ADD
Show: