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


CHtmlView::OnDocWindowActivate

Called from the Internet Explorer or MSHTML implementation of IOleInPlaceActiveObject::OnDocWindowActivate, which notifies the active in-place object when the container's document window is activated or deactivated.

virtual HRESULT OnDocWindowActivate(
   BOOL fActivate 
);

Параметры

  • fActivate
    Indicates the state of the document 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 OnDocWindowActivate to react to the OnDocWindowActivate notification from the Microsoft Web Browser control. See IDocHostUIHandler::OnDocWindowActivate in the Windows SDK for more information.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart

IOleInPlaceActiveObject::OnDocWindowActivate