Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - test SaveState exists?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

test SaveState exists?

 Post Reply Post Reply
Author
Message
nick.brandwood View Drop Down
Groupie
Groupie


Joined: 17 December 2008
Location: Italy
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote nick.brandwood Quote  Post ReplyReply Direct Link To This Post Topic: test SaveState exists?
    Posted: 23 July 2009 at 9:04am
Hi,
 
Still having fun with these excellent controls.
 
Particularly interesting the SaveState to registry option, will ensure that users find the same layout as when they last used the control.
 
There's some things that are puzzling me:
 
1. Is there a way test if a state has been saved, other then by checking for the existence of a registry key?
2. LoadState does not return any clue as to if it "worked" or not (apart from Panescount>0).
 
any clues?
 
nick
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: 24 July 2009 at 4:19am
Hi,
 
Actually Panescount>0 is good check. You can call it before you create Panes and if PansCount = 0, create standard Layout.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nick.brandwood View Drop Down
Groupie
Groupie


Joined: 17 December 2008
Location: Italy
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote nick.brandwood Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2009 at 11:15am
thanks!
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.125 seconds.