Поделиться через


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 
);

Параметры

  • 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.

Возвращаемое значение

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

Заметки

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

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart