Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC
  New Posts New Posts RSS Feed - about SaveCommanBars()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedabout SaveCommanBars()

 Post Reply Post Reply
Author
Message
zaozao View Drop Down
Groupie
Groupie


Joined: 09 February 2009
Location: Japan
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaozao Quote  Post ReplyReply Direct Link To This Post Topic: about SaveCommanBars()
    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.
 
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2009 at 1:17am
Hi,
Ribbon saves only information about Quick Access controls. Check if you have line
pRibbonBar->GetQuickAccessControls()->CreateOriginalControls();
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
zaozao View Drop Down
Groupie
Groupie


Joined: 09 February 2009
Location: Japan
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaozao Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2009 at 2:47am
Thank you, oleg.
 
I have already written the line, but Ribbon doesn't save the information about Quick Access controls.
 
I did it!
 
Thanks. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.