Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Disable Save/Restore CommandBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable Save/Restore CommandBar

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Disable Save/Restore CommandBar
    Posted: 16 March 2007 at 3:23am
I have 4 command bars, I have one withe a control (CControlStatic) which I do not want to be restored when I use
 
GetCommandBars()->DoPropExchange(&pxCommandBars1, &param);
 
copied from your examples.
 
So the question - how do I stop a specific text control in a toolbar from having its value restored?

I can obviously get / Set the caption text, but is there a flag I could set?
Simon HB9DRV
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: 19 March 2007 at 2:02am
Hi,
you can disable customization for toolbar that have this static text.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.