Is it possible that showing/hiding ToolWindow based on mode?

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Buddhist
Avatar
Just like the toolbars do. I'm looking forward to toolwindow built-in support.

Comments (2)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
There are two ways you could do that... one would be to save the layout and load a new one whenever the mode changes.

The other would be to keep your own boolean array for each tool window. When the mode changes, save whether each tool window is visible and then read the settings for the new mode. If they differ, then either Activate or Close the tool window as appropriate.

The first way is a little more robust since it will also store the location of the tool windows, and is probably much easier to implement.


Actipro Software Support

Posted 17 years ago by Buddhist
Avatar
I'm afraid of the performance issue about 1st way, if some tool windows need much effort to repaint.

Thx.
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.