Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

ADD
Show:
© 2015 Microsoft