且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在显示选项的MFC功能区面板上添加小按钮?

更新时间:2023-11-30 16:00:52

进一步搜索后我了解到该功能被调用:

对话框启动器

尽管它包含在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!