Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to create Ribbonbar control in MFC extension dll Collapse All
Subject Author Date
Shailesh Nikam Dec 5, 2006 - 5:28 AM

Hi,

I have created MDI application using MFC. I have created one MFC Extension DLL to add some new menus and dialog to application. This new extension dll has new set of menus. I’m loading new menu from dll to the application. I want to use ribbon control instead of those menus from DLL. Can anybody tell me how to write code for ribbon control in DLL?

Thanks in advance.

Technical Support Dec 6, 2006 - 8:53 AM

It is not completely clear how you want to use ribbon control from your dll but here are some details that may be helpful. The ribbon bar (and a ribbon page) is not based on toolbars and menus and it is working like a standalone customizable application controlled by the CExtCustomizeSite object. Its structure (with all inner parts including tabs, groups, buttons, and etc) is based on CExtCustomizeCmdTreeNode-based command trees which are much more feature rich than simple menu trees in Win32 resources. The ribbon bar is managing its private command profiles in the command manager.