以编程方式在Windows资源管理器中调用资源管理器栏 [英] Invoking a explorer bar in Windows explorer programmatically
问题描述
我已经为Windows资源管理器实现了一个资源管理器栏(它将出现在View-> Explorer Bar-> My deskband下)。我想以编程方式调用它。
这是我到目前为止所尝试的。 (OS Windows 7)。
1)尝试获取资源管理器窗口的IBandHost或IBandSite接口。但是这些接口没有实现,因此没用。
2)获取IWebBrowser接口并调用ShowBrowserBar方法。然而,这似乎不起作用。 Windows资源管理器中没有显示任何资源管理器栏。
有没有办法获得一个IBandHost界面,可以很容易地在Windows资源管理器中显示/隐藏资源管理器栏?
谢谢。
$
< blockquote> http://www.codeproject.com/KB/shell/calendar.aspx #ShowingAndHidingDeskBandProgrammatically
I have implemented an explorer bar for Windows explorer (it would appear under View->Explorer Bar->My deskband). I would like to invoke this programmatically.
This is what I have tried so far. (OS Windows 7).
1)Tried to obtain IBandHost or IBandSite interfaces for an explorer window. However these interfaces are not implemented and hence not useful.
2)Obtained IWebBrowser interface and invoked the ShowBrowserBar method. However this doesn't seem to work. No explorer bar shows up in Windows Explorer.
Is there any way to obtain a IBandHost interface that would make it easy to show/hide explorer bar in windows explorer?
Thanks.
http://www.codeproject.com/KB/shell/calendar.aspx#ShowingAndHidingDeskBandProgrammatically
这篇关于以编程方式在Windows资源管理器中调用资源管理器栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!