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.

Exception when closing Tabbed MDI window

Thread ID:

Created:

Updated:

Platform:

Replies:

27063 Apr 5,2005 06:27 PM Apr 6,2005 06:20 PM Windows Forms 4
loading
Tags: Tools
Randy Magruder
Asked On April 5, 2005 06:27 PM

Using the latest version of the components, when I have a MDI window open, I can close it either by clicking on general purpose [x] in the upper right corner of the tab set, or I can right click and select close. Doing the former works fine. Doing the latter generates an exception. Since i don''t have source, I don''t know why. What is the proper way to handle the default right click ''close'' menu on the actual tab? Thanks, Randy

Randy Magruder
Replied On April 5, 2005 06:36 PM

A little more information on this. The exception occurs whether I close the window or not. No matter how I leave the popup close menu I will get this exception. It is an InteropServices.SEHException. >Using the latest version of the components, when I have a MDI window open, I can close it either by clicking on general purpose [x] in the upper right corner of the tab set, or I can right click and select close. > >Doing the former works fine. Doing the latter generates an exception. Since i don''t have source, I don''t know why. What is the proper way to handle the default right click ''close'' menu on the actual tab? > >Thanks, >Randy

Administrator [Syncfusion]
Replied On April 6, 2005 11:02 AM

Hi Randy, I suspect you are using the Application.EnableVisualStyles call in your application. If so, I believe this is an issue with the Application.EnableVisualStyles() method and not a bug in our tabbedMDI framework. The following dotnet forum post provides more information on this : Application.EnableVisualStyles Problem Simply invoking the Application.DoEvents() method after the Application.EnableVisualStyles() call will resolve this problem. I have attached a test sample here that illustrates this problem and the workaround. Let me know if this works for you. Regards, Guru Patwal Syncfusion, Inc.

Randy Magruder
Replied On April 6, 2005 02:33 PM

Sounds like that''s probably what''s going on. I will try this out. (Btw, have you guys tried to use the forums from Firefox? The window for text entry is really, really tiny. >Hi Randy, > >I suspect you are using the Application.EnableVisualStyles call in your application. If so, I believe this is an issue with the Application.EnableVisualStyles() method and not a bug in our tabbedMDI framework. The following dotnet forum post provides more information on this : > >Application.EnableVisualStyles Problem > >Simply invoking the Application.DoEvents() method after the Application.EnableVisualStyles() call will resolve this problem. I have attached a test sample here that illustrates this problem and the workaround. Let me know if this works for you. > >Regards, >Guru Patwal >Syncfusion, Inc.

Administrator [Syncfusion]
Replied On April 6, 2005 06:20 PM

Hi Randy, We''re aware of some compatibility issues with our Website and FireFox. I''ll take a look into the forums specifically and see I can get that fixed by the end of the week. Regards, Gregory Austin 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.

;