Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Persisting floating pane position?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Persisting floating pane position?

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


Joined: 18 February 2005
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveS Quote  Post ReplyReply Direct Link To This Post Topic: Persisting floating pane position?
    Posted: 11 September 2006 at 5:23pm
 
This is a bit hard to explain, so please bear with me:
 
In the GUI_Whidbey sample, if I double click on the title bar of the Properties pane, it ‘pops-out’ into its own floating window. I can then move and resize the popped-out window. If I double click on the title bar again, it pops back in to its original position amongst the other panes. But the framework remembers its popped-out size and position; if I now double click the title bar again it pops out to its previous screen position.

 

I like this feature, and I wish to extend it by having the popped-out size and position be saved and restored between application invocations, *whether or not the pane is popped out when I exit the application*. Right now, if I exit the application while the pane is docked, when I re-open the application and double-click a title bar, the pane will pop out but will occupy the same size/position as when it was docked. I want the pane to pop out to its persisted size and location instead. 

 

Any hints for how I can go about doing what I want?

 
TIA
 

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: 12 September 2006 at 12:32am
Hello,
It works for me. May be you have some very old version of toolkit? Try DockingPane\Pane sample do you see same problem?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
DaveS View Drop Down
Groupie
Groupie


Joined: 18 February 2005
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveS Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2006 at 11:07am

Sorry, pilot error on my part. Please disregard.

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