Read ribbon bar files from CommandbarDesign? |
Post Reply |
Author | |
Insad
Groupie Joined: 28 October 2004 Location: The Netherlands Status: Offline Points: 55 |
Post Options
Thanks(0)
Posted: 09 February 2015 at 9:45am |
Hello all,
I'm trying to get the exported XML from the CommandbarDesigner (RibbonBar) to work in my MFC app. The sample in the TKP 16.4.0 seems to work but I can't figure out how to get such an XML exported from the CommandbarDesigner? It seems that the sample was made in a very old version of the CommandbarDesigner? I also need to import the images, which is not shown in the RibbonMDISample. As does it lacks a sample on how you can use actions in the XML. I tried reading the xcb file instead of the XML (See this thread: http://forum.codejock.com/forum_posts.asp?TID=16803). This does work. Sort of.. The theming gets screwed up and the current theme needs to be applied again. This needs fixing somehow. But the icons are also not read or shown in case :( Can someone give me some info on how to get it working? Regards, Insad |
|
Products in use: XTP version 13.4.2/15.3.1/16.4.0/17.3.0
Platforms: Win2003(R2)/Win2008(R2)/Win7/Win2011/Win8(.1)/Win2012(R2)/Win10 (x86/x64) Langs: VC++ (MFC) 6/2005/2008/2013/2015/2017 |
|
Insad
Groupie Joined: 28 October 2004 Location: The Netherlands Status: Offline Points: 55 |
Post Options
Thanks(0)
|
Okay, I found why the icons where not shown.
After reading the XCB file I called my (old) LoadIcons() function which removed all other icons and loads the ones that where loaded in the old, programmed situation; which had other IDs. Everything works now with the following exceptions: - When I load the xcb file in a theme setting with Office2010(Black), the theming of the ribbon is a bit off; The first tab (home tab) is incorrectly drawn. When I change the theme then to another Office2010 setting (Blue for example) then everything is ok? - After loading the xcb, when I change theming to Office2013(Word) the app crashes.. It looks like the resource DLLs for Office2013 are lacking information on how the ribbonbar should be drawn (missing FRAMETOPLEFT etc. entries) It seems that the CommandbarDesigner isn't ready for Office2013? It also lacks the look of the Office 2010 theme? Insad |
|
Products in use: XTP version 13.4.2/15.3.1/16.4.0/17.3.0
Platforms: Win2003(R2)/Win2008(R2)/Win7/Win2011/Win8(.1)/Win2012(R2)/Win10 (x86/x64) Langs: VC++ (MFC) 6/2005/2008/2013/2015/2017 |
|
mcmastl
Admin Group Joined: 14 April 2015 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
Insad,
Thank you for letting us know of this issue. We have let our development team know to look further into the issue. If the matter has been resolved please let us know.
|
|
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |