Print Page | Close Window

Hiow to (temprally) hide all panes and pane groups

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23842
Printed Date: 14 May 2024 at 10:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hiow to (temprally) hide all panes and pane groups
Posted By: MacW
Subject: Hiow to (temprally) hide all panes and pane groups
Date Posted: 24 April 2019 at 5:58am
I want to implement a "Hide all panes" feature so the user can concentrate on the main section.

My application has about 10 to 15 panes open. Depending on the user, these panes are docked individually, docked in groups or used as floating panels, even on a second or third monitor.

I had partial success by iterating over the CXTPDockingPaneInfoList and hiding all panes.
I can then show them again with ToggleDocking (there seems to be no unhide?)

Problem is, when the hidden panes are on a second monitor, XTP restores them on the main monitor, breaking the layout and positioning done by the user.

Question: How do I implement a hide all / show all pane function that also restores floating panels on the correct monitor?



Replies:
Posted By: MacW
Date Posted: 02 July 2019 at 12:57pm
Any answers to this? Or shall I open a support ticket?


Posted By: cluster
Date Posted: 02 July 2019 at 3:21pm
Hi,

did you use the CXTPDockingPaneLayout class for repositioning?
I mean you could save the current layout, then hide or close all panes. Restoring the layout by loading it.


-------------
Windows 7
Visual Studio 2013
CodeJock 18.6



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