MSHTML是ActiveX文档,它可以host ActiveX控件。

为了显示html页面,推荐host WebBrowser Control。

To replace the menus, toolbars, and other UI for MSHTML, the host should implement the IDocHostUIHandler interface. MSHTML obtains this interface by passing IID_IDocHostUIHandler to the QueryInterface MSHTML method of the host's client site object. If the host does not implement a client site, the host can query the MSHTML document object for the ICustomDoc interface and call the ICustomDoc::SetUIHandler method to set the MSHTML UI handler.

A host of MSHTML can display message boxes, Help UI, and all in-place active UI on behalf of MSHTML by implementing two interfaces, IDocHostUIHandler and IDocHostShowUI

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-07-15
  • 2021-09-01
  • 2021-09-17
  • 2022-12-23
  • 2021-04-09
  • 2021-10-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-08-05
  • 2021-12-31
相关资源
相似解决方案