Ribbon Load/SaveCommandBars in RibbonResource |
Post Reply |
Author | |
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
Posted: 17 May 2017 at 7:16am |
Hi,
I'm trying to integrate saving/loading Ribbon state into my application but without a success till now. The strange thing is - this also doesn't work even with RibbonResource sample project. I took the sample project, add: void CMainFrame::OnClose() { SaveCommandBars("CommandBars"); CXTPMDIFrameWnd::OnClose(); } handler and enhanced: CMainFrame::OnCreate { ... LoadCommandBars("CommandBars"); return 0; } as the last line before the return. If now I open the sample; minimize the ribbon or switch quick access bar below the ribbon and close it. I do not see any changes saved after I start the sample again. My question - should this work in combination with CXTPRibbonBuilder together in general? If yes - that do I do wrong? Best regards, Mikhail XTP17.3.0, VC++, VS2015, Win 7x64 |
|
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 |