如何在Visual C ++中向表单视图添加功能区? [英] How Can I Add Ribbon To Form View In Visual C++?
问题描述
我在我的应用程序中添加了功能区控件,我想将该控件用作其中一个窗体视图的选项卡控件。如何自定义?
m_wndRibbonBar.Create( this ) ;
m_wndRibbonBar.LoadFromResource(IDR_RIBBON);
我不确定它会起作用。 FormView基于资源,功能区通常在CMDIFrameWndEx中创建。也许如果你使用CFrameWndEx,你可以在那里添加一个功能区。
我有两篇文章在VC ++中使用功能区:
BasicAdmin2 - 个人财务软件 [ ^ ]
BasicAdmin - Personal Organizer [ ^ ]
希望它帮助
hi,
I added ribbon control to my application,i wanted to use that control as a tab control to one of the formview. How can i customize?
m_wndRibbonBar.Create(this); m_wndRibbonBar.LoadFromResource(IDR_RIBBON);
I'm not sure it will work. FormView is based on a resource and the ribbon is usually created in a CMDIFrameWndEx. Maybe if you use CFrameWndEx you can add a ribbon there.
I have two articles that use the ribbon in VC++:
BasicAdmin2 - Personal Finance Software[^]
BasicAdmin - Personal Organizer[^]
Hope it helps
这篇关于如何在Visual C ++中向表单视图添加功能区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!