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.

DockingManager Floating DockHost Hidden in MDI Forms

Thread ID:

Created:

Updated:

Platform:

Replies:

38368 Dec 10,2005 01:37 PM Dec 29,2005 06:17 AM Windows Forms 2
loading
Tags: Tools
Bryant Cobarrubias
Asked On December 10, 2005 01:37 PM

Hello. I have an odd problem with the docking manager on a MDI form. When my MDI child form closes, I cancel the event to save system resources. If there is a control floating then the floating toolbar does not disappear. The user may force it to disappear by clicking on the floating toolbar and then clicking on the MDI parent form. Also, when I reopen the child form the floating toolbar reappears behind my main form. The floating toolbar is also not topmost and does not appear to be child of any parent form. Here is how I am canceling the MDI child form closing: private void Form_Closing(object sender, System.ComponentModel.CancelEventArgs e) { this.Visible = false ; e.Cancel = true ; } Attached is step-by-step how the problem presented itself. Also, I have a WebEx account. If you want to see the problem first hand, let me know. Thanks in advance, Bryant

Floating toolbar problem.zip

Vijayanand S [Syncfusion]
Replied On December 12, 2005 05:48 AM

Hi Bryant, Thanks for your screen shots. I was able to reproduce your problem and I have logged a bug report regarding this: Floating window goes behind the MDI form after hide and show the MDI child form. You could track the status of the bug fix at the above link. As a workaround, you could set the visible property as false for the floating form whenever you change the visible property for the form. I have created a small sample to reproduce your problem. In this attached sample, File menu consist of the following baritems: Open, Show, CloseChildForm and Exit. Open - It will create a new form, if form does not exist in the MDI container. Show - It will show the form, If form has been hidden. CloseChildForm - It will permenantly close the form. And also I have included some code in the form2 Closing event and VisibleChanged event to show or hide the floating window explicitly. Please take a look at the attached test sample and let me know if this helps you. Thanks for your patience. Regards, Vijay Test Sample

Vijayanand S [Syncfusion]
Replied On December 29, 2005 06:17 AM

Hi Bryant, The Defect - 1210 has been fixed internally and it will be available in our final release of v4.1. I will let you know about the download details for the final release very soon. Thanks for your patience. Regards, Vijay

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.

;