QuickAccessToolbar Save and Load [Solved] |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 20 July 2022 at 5:10am |
I can't find any examples on how to save and load the controls in the QuickAccessToolbar.
I managed to save and load the using the code below. Right after adding a new control to the QuickAccessToolbar using the CXTPRibbonCustomizeQuickAccessPage everyting works. The problem is that after saving and loading the QuickAccesControls they appear correct in the QuickAccessToolbar, but the controls are not working?
This fails: XTPCommandBar.cpp line 653: if (!pControl->OnSetPopup(TRUE)) Since m_pCommandBar is NULL in XTPControlPopup.cpp line 295: if (!m_pCommandBar) Please help.
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
Maybe a good idea to add these methods to the Codejock Ribbon MDI Sample for others to use??
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
A question, why would you need to load/save Quick Access controls using separate functions?
I just create the ribbon bar including the QAT, and then call LoadCommandBars(L"MySection", TRUE); and all previous customizations are then loaded. |
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
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 |