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.
Unfortunately, activation email could not send to your email. Please try again.

How to Hide a docked Form

Thread ID:

Created:

Updated:

Platform:

Replies:

9703 Jan 6,2004 11:02 PM Jan 8,2004 05:13 AM Windows Forms 3
loading
Tags: Tools
Alex Brunner
Asked On January 6, 2004 11:02 PM

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 05:42 AM

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 7, 2004 10:28 PM

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 05:13 AM

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.

CONFIRMATION

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.

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.

;