Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDirectManipulationViewportEventHandler interface

Defines methods for handling status and update events for the viewport.

Note  When implementing a Direct Manipulation object, ensure that the IUnknown implementation supports multithreading through thread-safe reference counting. For more information, see InterlockedIncrement and InterlockedDecrement.
 

Members

The IDirectManipulationViewportEventHandler interface inherits from the IUnknown interface. IDirectManipulationViewportEventHandler also has these types of members:

Methods

The IDirectManipulationViewportEventHandler interface has these methods.

MethodDescription
OnContentUpdated

Called when content inside a viewport is updated.

OnViewportStatusChanged

Called when the status of a viewport changes.

OnViewportUpdated

Called after all content in the viewport has been updated.

 

Remarks

Client apps implement this handler to receive status and update events for viewports. Use AddEventHandler to set the handler for a viewport. Each viewport can have more than one handler.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationViewportEventHandler is defined as 952121DA-D69F-45F9-B0F9-F23944321A6D

See also

Direct Manipulation Interfaces

 

 

Community Additions

Show:
© 2016 Microsoft