How to extend Windows Explorer with a custom panel

爷,独闯天下 提交于 2019-11-28 14:43:35

You must implement IDockingWindow. Result will be look like this:

One of the scenario:

1) Create BHO with IObjectWithSite support.

2) Inside IObjectWithSite.SetSite call Site.QueryInterface(IServiceProvider, ServiceProvider)

3)Then call ServiceProvider.QueryService(SID_SShellBrowser, IDockingWindowFrame, DockingWindowFrame).

4) Then call DockingWindowFrame.AddToolbar with your object that implements IDockingWindow and IObjectWithSite.

5) Inside IObjectWithSite of your object call QueryInterface(IDockingWindowSite, DockingWindowSite)

Other detail you can find in the MSDN.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!