Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called after all content in the viewport has been updated.
Syntax
HRESULT OnViewportUpdated(
[in] IDirectManipulationViewport *viewport
);
Parameters
[in] viewport
The viewport that has been updated.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If you have actions that need to be executed once for a viewport update, implement OnViewportUpdated. OnContentUpdated is called once for each content change in the viewport. This can result in multiple OnContentUpdated calls.
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 |