Windows Dev Center

IDirectManipulationViewportEventHandler::OnViewportUpdated method

Called after all content in the viewport has been updated.

Syntax


HRESULT OnViewportUpdated(
  [in] IDirectManipulationViewport *viewport
);

Parameters

viewport [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

DirectManipulation.idl

See also

IDirectManipulationViewportEventHandler

 

 

Community Additions

ADD
Show:
© 2015 Microsoft