Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Notifies the control when the container's document window is activated or deactivated.

HRESULT OnDocWindowActivate(
   BOOL fActivate 

See IOleInPlaceActiveObject::OnDocWindowActivate in the Platform SDK.

Return Value

Returns S_OK.

See Also

IOleInPlaceActiveObjectImpl Overview | Class Members

© 2016 Microsoft