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
);
Параметры
dwID
Reserved for future use.pActiveObject
IOleInPlaceActiveObject interface of the currently active object.pCommandTarget
IOleCommandTarget interface of the object.pFrame
IOleInPlaceFrame interface of the object. This is needed for menus and toolbars.pDoc
IOleInPlaceUIWindow interface for the object. This is needed for toolbars.
Возвращаемое значение
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