Print Page | Close Window

Disable Save/Restore CommandBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=6658
Printed Date: 05 July 2024 at 2:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable Save/Restore CommandBar
Posted By: Simon HB9DRV
Subject: Disable Save/Restore CommandBar
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net