Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Toolbars last saved state doubt?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolbars last saved state doubt?

 Post Reply Post Reply
Author
Message
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Topic: Toolbars last saved state doubt?
    Posted: 14 February 2008 at 2:44am
Hi,
   In my application i have several toolbars,before closing my application i have closed all my toolbars and closed the application.In my next run of my application i would like to know the last saved state of the toolbar because if the toolbars are closed in the previous exit of my application those toolbars should not be visible in my next run. How to get the last saved state of the toolbar.Please help.
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: 14 February 2008 at 12:38pm
Hi,
call SaveCommandBars after you close these toolbars.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 12:10am
Hi,
  Is there is any way to get the last saved state of the toolbar because in my application I am making all my toolbars to setvisible(false) then i want to get the last saved state(whether visible or not) for further visibility. please help
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: 15 February 2008 at 1:39am
Hi,
I don't really undesrtand your problem. Please create small demo to show it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 2:18am
uploads/20080215_021727_test.rar
Hi, I have uploaded a file which contains my problem. Please look into this.
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: 17 February 2008 at 5:07am
Hi,
You call SetVisible false and toolbars loaded hidden - its designed behavior.
If you need change this logic manually save in registry state you need and restore it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2008 at 12:44am
Thanks a lot.
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.047 seconds.