如何在显示选项的MFC功能区面板上添加小按钮? [英] How do I add the small button on a MFC ribbon panel that displays options?
本文介绍了如何在显示选项的MFC功能区面板上添加小按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要为MFC应用程序中的功能区面板提供其他选项。我看到微软在Office应用程序中有它们,但我找不到如何在文档中添加一个应用程序。
我有什么尝试过:
我已经查看过Visual Studio文档并在线搜索,但我看不到怎么做。我还在VS 2010中创建了一个MFC项目,并查找了如何使用资源编辑器进行功能区。
解决方案
进一步搜索后我了解到该功能被调用:
对话框启动器
尽管它包含在Windows桌面应用程序设计指南中,但它似乎不能用于MFC或WFP。
我在微软社交论坛上发现了如何在MFC功能区中创建对话框启动器?这表明它是一个自定义功能仅限办公室。
如果有人知道更好,我会很感激您的任何信息。
谢谢!
I need to offer additional options to a Ribbon Panel in a MFC application. I see that Microsoft has them in the Office applications, but I can't find how to add one to my application in the documentation.
What I have tried:
I have reviewed both the Visual Studio documentation and searched online, but I don't see how to do it. I have also created a MFC project in VS 2010 and looked for how to do it with the resource editor for ribbons.
解决方案
After further searches I learned the feature is called:
Dialog box launcher
And although it is included in the Windows desktop applications Design Guidelines, it does not appear that it can be used in MFC or WFP.
I found a posting on Microsoft social forum, How to create "Dialog box launcher" in MFC Ribbon?, that indicates it is a custom feature for Office only.
If anyone know better, I would appreciate any info you have.
Thanks!
这篇关于如何在显示选项的MFC功能区面板上添加小按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文