Print Page | Close Window

Re-open pane with the same visual aspects

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5981
Printed Date: 27 November 2024 at 4:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Re-open pane with the same visual aspects
Posted By: akur
Subject: Re-open pane with the same visual aspects
Date 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!





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net