IDirectManipulationViewportEventHandler interface (directmanipulation.h)
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.
Inheritance
The IDirectManipulationViewportEventHandler interface inherits from the IUnknown interface. IDirectManipulationViewportEventHandler also has these types of members:
Methods
The IDirectManipulationViewportEventHandler interface has these methods.
IDirectManipulationViewportEventHandler::OnContentUpdated Called when content inside a viewport is updated. |
IDirectManipulationViewportEventHandler::OnViewportStatusChanged Called when the status of a viewport changes. |
IDirectManipulationViewportEventHandler::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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |