Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 5.8 KB

ne-directmanipulation-directmanipulation_viewport_options.md

File metadata and controls

91 lines (68 loc) · 5.8 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:directmanipulation.DIRECTMANIPULATION_VIEWPORT_OPTIONS
DIRECTMANIPULATION_VIEWPORT_OPTIONS (directmanipulation.h)
Defines the input behavior options for the viewport.
DIRECTMANIPULATION_VIEWPORT_OPTIONS
DIRECTMANIPULATION_VIEWPORT_OPTIONS enumeration [Direct Manipulation]
DIRECTMANIPULATION_VIEWPORT_OPTIONS_AUTODISABLE
DIRECTMANIPULATION_VIEWPORT_OPTIONS_DEFAULT
DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING
DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST
DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT
DIRECTMANIPULATION_VIEWPORT_OPTIONS_MANUALUPDATE
directmanipulation.directmanipulation_viewport_options
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_AUTODISABLE
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_DEFAULT
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_MANUALUPDATE
directmanipulation\directmanipulation_viewport_options.htm
directmanipulation
BFBA2D32-825F-4EEF-99C8-291305926750
12/05/2018
DIRECTMANIPULATION_VIEWPORT_OPTIONS, DIRECTMANIPULATION_VIEWPORT_OPTIONS enumeration [Direct Manipulation], DIRECTMANIPULATION_VIEWPORT_OPTIONS_AUTODISABLE, DIRECTMANIPULATION_VIEWPORT_OPTIONS_DEFAULT, DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING, DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST, DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT, DIRECTMANIPULATION_VIEWPORT_OPTIONS_MANUALUPDATE, directmanipulation.directmanipulation_viewport_options, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_AUTODISABLE, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_DEFAULT, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT, directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS_MANUALUPDATE
directmanipulation.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
DirectManipulation.idl
Windows
DIRECTMANIPULATION_VIEWPORT_OPTIONS
19H1
DIRECTMANIPULATION_VIEWPORT_OPTIONS
directmanipulation/DIRECTMANIPULATION_VIEWPORT_OPTIONS
c++
APIRef
kbSyntax
HeaderDef
directmanipulation.h
DIRECTMANIPULATION_VIEWPORT_OPTIONS

DIRECTMANIPULATION_VIEWPORT_OPTIONS enumeration

-description

Defines the input behavior options for the viewport.

-enum-fields

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_DEFAULT:0

No special behaviors. This is the default value used to set or revert to default behavior.

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_AUTODISABLE:0x1

At the end of an interaction, the viewport transitions to DIRECTMANIPULATION_READY and then immediately to DIRECTMANIPULATION_DISABLED. The viewport must be explicitly enabled through the Enable method before the next interaction can be processed.

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_MANUALUPDATE:0x2

Update must be called to redraw the content within the viewport. The content is not updated automatically during an input event.

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT:0x4

All input from a contact associated with the viewport is passed to the UI thread for processing.

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_EXPLICITHITTEST:0x8

If set, all WM_POINTERDOWN messages are passed to the application for hit testing. Otherwise, Direct Manipulation will process the messages for hit testing against the existing list of running viewports, and the application will not see the input.

Applies only when viewport state is DIRECTMANIPULATION_RUNNING or DIRECTMANIPULATION_INERTIA.

-field DIRECTMANIPULATION_VIEWPORT_OPTIONS_DISABLEPIXELSNAPPING:0x10

Specifies that pixel snapping during a manipulation is disabled.

Anti-aliasing can create irregular edge rendering. Artifacts, commonly seen as blurry, or semi-transparent, edges can occur when the location of an edge falls in the middle of a device pixel rather than between device pixels.

-remarks

DIRECTMANIPULATION_VIEWPORT_OPTIONS is used in the SetViewportOptions method. These flags can be combined to set the input behavior for a viewport.

-see-also

Direct Manipulation Enumerations