UIStudio Dock: Tool window as Tabbed document Hide question

Docking/MDI for Windows Forms Forum

Posted 13 years ago by Philip Clem - San Mateo, CA, USA
Avatar
I create a Tool window, with options, displayed as a Tabbed Doc window and get "Hide" on the menu.

Questions:

1) Is there are way to disable or not display "Hide".
2) If not, and a user presses Hide, (and the tab goes away), how does the user get it back? How does the developer I get it back? (Have tried setting toolWindow.Visible = true, toolWindow.Show(), etc.

Thanks,
PC

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi PC,

1) Yes, set CanClose to false on the ToolWindow.
2) Call ToolWindow.Activate to redisplay it. The Visible property is tied to the actual control visibility from the .NET framework so that's why we had to make another property named Active to return whether the tool window is active in the layout.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.