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

Parameters

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::OnUpdateUI

CHtmlView::OnHideUI

CHtmlView::OnShowContextMenu