Hiow to (temprally) hide all panes and pane groups |
Post Reply |
Author | |
MacW
Senior Member Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
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?
|
|
MacW
Senior Member Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
|
Any answers to this? Or shall I open a support ticket?
|
|
cluster
Groupie Joined: 22 January 2015 Status: Offline Points: 91 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |