简体   繁体   English

将工具栏放入Windows任务栏(ala语言栏)

[英]Placing toolbar into Windows taskbar (ala language bar)

I'm currently in the process of writing a Windows MFC app to quickly search our corporate DMS. 我目前正在编写Windows MFC应用程序以快速搜索我们的企业DMS。 The idea is to have a button placed at the right hand edge of the windows taskbar much like the language bar, that when clicked, would popup the search interface. 我们的想法是在窗口任务栏的右边缘放置一个按钮,就像语言栏一样,点击后会弹出搜索界面。

I can't seem to find much regarding how placing items in the taskbar like this is performed, can anyone point me to some useful resources or examples? 我似乎无法找到关于如何在这样的任务栏中放置项目,有人能指出我一些有用的资源或示例吗?

I'd prefer native API resources (that is, not .NET) if possible. 如果可能的话,我更喜欢原生API资源(即不是.NET)。

Thanks! 谢谢!

Such toolbar is named a Deskband. 这样的工具栏被命名为Deskband。 Here's an example: http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx 这是一个例子: http//www.codeproject.com/KB/shell/dotnetbandobjects.aspx

You could look at the StExBar . 你可以看一下StExBar It implements an explorer toolbar which can also be added to the taskbar. 它实现了一个资源管理器工具栏,也可以添加到任务栏。 Doesn't use MFC though, just plain win32. 不使用MFC,只是简单的win32。

避免代码项目不良样本并查看MSDN示例(Adv.Shell api samples,SDK)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM