about SaveCommanBars() |
Post Reply |
Author | |
zaozao
Groupie Joined: 09 February 2009 Location: Japan Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 02 July 2009 at 8:19am |
Hi.
I am making now the Ribbon Application.
And I wrote "LoadCommandBars("CommandBars") ;"in my CMainFrame::OnCreate(),
and "SaveCommandBars("CommandBars") ;" in my CMainFrame::OnClose().
But "CommandBars-Controls" was not created in the registry.
So, information of Customization is lost.
I tried to add "SaveCommandBars("CommandBars") ;" to "Ribbon Control Sample".
But "CommandBars-Controls" was not created.
How should I do to create "CommandBars-Controls" as same as "Ribbon MDI Sample"?
Please teach me.
Thanks.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Ribbon saves only information about Quick Access controls. Check if you have line
pRibbonBar->GetQuickAccessControls()->CreateOriginalControls();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zaozao
Groupie Joined: 09 February 2009 Location: Japan Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Thank you, oleg.
I have already written the line, but Ribbon doesn't save the information about Quick Access controls.
I did it!
Thanks.
|
|
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 |