Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Save/Restore policy
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Save/Restore policy

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


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Topic: Save/Restore policy
    Posted: 01 September 2005 at 9:14pm

Hi,

I think every user of XTP knows a problem. If we let XTP to save and restore state and then we add another control which does not exist before, then the new control will not appear. We have to reset toolbar or delete previously saved state info.

May I suggestion guys at XTP handle this issue in this way? If XTP found new control, instead of simply deleting it, putting it to a default position on the toolbar? maybe query the control for it's default position. For example, every control has a function, say GetDefaultState(), the same apples for docking panel .

Any comment is welcome

Jeff



Edited by jeffcmj
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 01 September 2005 at 11:31pm

If you use LoadCommandBars method message box must appear that toolbar was changed... What version do you have?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jeffcmj View Drop Down
Groupie
Groupie


Joined: 28 October 2004
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffcmj Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2005 at 3:00am

I use CXTPPropExchangeIniFile to save/restore the state. I know the message box. But it still not good that all state must be reset to be able to see the new control. We are developing a software with millions of users and we release new version every 2 weeks. If we reset user's config once in a while, we must be buried by complaints.

How about the way I suggested?

Jeff

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.063 seconds.