IViewObjectPresentFlip2::NotifyLeavingView method
Called by Internet Explorer (MSHTML UI thread) when the ActiveX control has left the view and is no longer visible by the user. This can be used by the control to stop rendering content or do other resource reclamation as a result of the control being out of view.
Syntax
HRESULT NotifyLeavingView();
Parameters
This method has no parameters.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
When this method has been called, the user can no longer see the control. Any optimizations for this case can be done by the control, until the next call to NotifyRender occurs.