IDocHostUIHandler InterfaceIDocHostUIHandler Interface*
*Contents  *Index  *Topic Contents
*Previous Topic: ICustomDoc::SetUIHandler
*Next Topic: IDocHostUIHandler::EnableModeless

IDocHostUIHandler Interface

A host can replace the menus, toolbars, and context menus used by IE4/MSHTML by implementing the IDocHostUIHandler interface. IE4/MSHTML will obtain this interface by calling the host's client site QueryInterface, requesting IID_IDocHostUIHandler. This interface has methods that allow IE4/MSHTML to communicate with the host about its UI status.

IDocHostUIHandler is derived from IUnknown. The following are the methods specific to IDocHostUIHandler:
ShowContextMenu
GetHostInfo
ShowUI
HideUI
UpdateUI
EnableModeless
OnDocWindowActivate
OnFrameWindowActivate
ResizeBorder
TranslateAccelerator
GetOptionKeyPath
GetDropTarget
GetExternal
TranslateUrl
FilterDataObject

The following are the structures and enumerations used with the IDocHostUIHandler interface:
DOCHOSTUIINFO
DOCHOSTUIDBLCLK
DOCHOSTUIFLAG


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.