Unable to hide ToolWindow in AutoHide state

Docking/MDI for Windows Forms Forum

Posted 18 years ago by puyopuy
Dear all,

I tried to hide a ToolWindow by using


but when I changed TooolWindow to AutoHide state this code doesn't work any more. I think it is because toolWindowContainer1 does not exits in AutoHide state. Can anyone tell me what is the corret way to handle Hide and Show ToolWindow in different state?

Any help is appriciated.

Comments (2)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Hi there.. yes the ToolWindowContainers are only used while a tool window is docked.

The ToolWindow.Close method will hide a tool window no matter where it is located in the UI. So that is the universal recommended way to hide tool windows.

Actipro Software Support

Posted 18 years ago by puyopuy
Thank you for your quickly reply, my problem fixed
The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.