Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to return to the initial state of my dock pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to return to the initial state of my dock pane

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


Joined: 03 July 2009
Location: Belgium
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote supermip Quote  Post ReplyReply Direct Link To This Post Topic: How to return to the initial state of my dock pane
    Posted: 29 July 2009 at 6:27am
Hello All,

I am experimenting the SIDSample project.

I would like to invoke your help for the following issue:

Here is from where I start:


I have three panes to the right side B is attached to A and C is attached to B.

I can show the Panes correctly by clicking on the right tab.


If I pinned the Pane A, all the other panes are pinned also. That is
one thing already stranged. (Maybe related to the attachto method ?)


If I unpinned Pane A, it returns correctly to his initial place.


If I unpinned Pane B, it does not return to his initial place. There is
now a gap between Pane A and Pane B.



How can I do to return to the first image ?

Thank you very much in advanced.
Best regards.
Michel.





Back to Top
unknow View Drop Down
Groupie
Groupie
Avatar

Joined: 14 January 2009
Location: Belgium
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote unknow Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2009 at 6:56pm
It can be a big mess when the user has started playing with the panes  
I don't know if there is a special routine to restore the initial state, but instead here's a way I used already:
 
- Add a menu option (or a command line switch) to restore the default toolbar/pane configuration
- Set a flag in the registry
- on the next application start, if the flag is set, prevent from loading the toolbar/pane state
 
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: 06 August 2009 at 12:55am

Hi,

Before second and third pictures you had picture where all 3 panes are groupped in single pane. if you pin such group they all will be hidden.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.