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


CHtmlView::OnShowUI

Called before Internet Explorer or MSHTML displays its menus and toolbars.

virtual HRESULT OnShowUI(
   DWORD dwID,
   LPOLEINPLACEACTIVEOBJECT pActiveObject,
   LPOLECOMMANDTARGET pCommandTarget,
   LPOLEINPLACEFRAME pFrame,
   LPOLEINPLACEUIWINDOW pDoc 
);

Параметры

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

See IDocHostUIHandler::ShowUI in the Windows SDK for a list of values.

Заметки

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

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::OnUpdateUI

CHtmlView::OnHideUI

CHtmlView::OnShowContextMenu