CHtmlView::OnFrameWindowActivate

Called from IOleInPlaceActiveObject::OnFrameWindowActivate to notify the object when the container's top-level frame window is activated or deactivated.

virtual HRESULT OnFrameWindowActivate(
   BOOL fActivate 
);

Parameters

  • fActivate
    Indicates the state of the container's top-level frame window. If this value is nonzero, the window is being activated. If this value is zero, the window is being deactivated.

Return Value

S_OK if successful, or an OLE-defined error code otherwise.

Remarks

Override OnFrameWindowActivate to react to the OnFrameWindowActivate notification from the Microsoft Web Browser control. See IDocHostUIHandler::OnFrameWindowActivate in the Windows SDK for more information.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

Other Resources

CHtmlView Members