Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Re-open pane with the same visual aspects
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Re-open pane with the same visual aspects

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


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Topic: Re-open pane with the same visual aspects
    Posted: 04 January 2007 at 7:25am
Hello,

I have 3 docked, autohidden panes (1st pic), one of which gets closed by the user (2nd pic). Later on, I will need to re-open that pane, so I call ShowPane() and ToggleAutoHide(). The problem is that it re-appears as the last tab in the tabbed container and it gets also selected!



I need to have the same state as before; i.e. after re-opening the ResourceView pane, it should be the 2nd tab and it should not be selected (FileView must be selected instead).

Is there any support for such a special, one-pane persistence to do this (maybe utilizing CXTPPropExchange somehow) or do I need to save and then restore every flag (IsClosed, IsHidden, IsSelected, ...) on my own?

Thank you in advance!


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