We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Hide a docked Form

Thread ID:





9703 Jan 7,2004 04:02 AM UTC Jan 8,2004 10:13 AM UTC WinForms 3
Tags: Tools
Alex Brunner
Asked On January 7, 2004 04:02 AM UTC

How do I hide a docked MDIChild using the DockinManager? We tried hiding a form in general by doing the following steps: - Override OnClosing - Set Visible to false - Cancel the Event by settine e.Cancel to true When doing this, we cannot close a docked window. It nearly disapperars from the MDIParent but the DockingHeader still remains visible. The "hidden" Form will show again whenever clicking on the DockLabel Tab. I guess that the problem could be that if we cancel the Closing Event we will no longer get the Closed event. Thanks in advance for any help. Regards, Alex

Administrator [Syncfusion]
Replied On January 7, 2004 10:42 AM UTC

Hi Alex, You could hide (or show) any docking window using the DockingManager''s SetDockVisibility method as shown in the code snippet below : DockingManager.SetDockVisibility (ctrl, false); Please let me know if this does not work for you. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Alex Brunner
Replied On January 8, 2004 03:28 AM UTC

Guru, I already tried this with no result. I called the method SetDockVisibility() from within the overridden OnClosing Method and didn''t get the wanted result. Any other ideas? Regards, Alex

Administrator [Syncfusion]
Replied On January 8, 2004 10:13 AM UTC

Hi Alex, I have opened an incident (#8540) on DirectTrac in this regard, and will update you there from now. In future, please address all your issues through DirectTrac as far as possible, since it is the best and the fastest way to receive technical support. Thanks for your cooperation. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon