SaveState and themes |
Post Reply |
Author | |
castleJoe
Newbie Joined: 16 August 2004 Status: Offline Points: 30 |
Post Options
Thanks(0)
Posted: 14 October 2004 at 12:48pm |
Hi, I was going to save the panes settings with this method, but it doesn't save any color/theme settings. Is this by design? If yes, it would be very practical to be able to save the theme/color/tab manager etc. settings too so I could offer the user the possibility to customize the whole GUI. |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
While the 'SaveState' method doesn't do this, you can still offer the ability for the user to customize it. I have a PropertyGrid control in a General Options dialog that offers a drop-down list of themes for CommandBars, DockingPanes, and PropertyGrid. I have to save and restore these settings myself, but it still gives the user the option of customizing. Just thought I'd throw that out there... |
|
castleJoe
Newbie Joined: 16 August 2004 Status: Offline Points: 30 |
Post Options
Thanks(0)
|
Thanks Boyd. I was looking for SaveState on the TabPaintManager, but as you say - have to do it manually... You don't have your serializer reusable and would share it ;) ? (I was thinking using the frmProperties++ from the TabManager sample to allow changing appearance) |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
If I had something easy to share, I would. I didn't serialize anything. I just stored each of the individual settings in the registry and then restored the settings when my application was loaded. |
|
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 |