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.
Syncfusion Feedback

Application refuse to close when using splitter

Thread ID:

Created:

Updated:

Platform:

Replies:

43383 Apr 21,2006 09:03 AM UTC Apr 25,2006 05:53 AM UTC Windows Forms 5
loading
Tags: GridControl
Riccardo Tarli
Asked On April 21, 2006 09:03 AM UTC

Hello, the sample in attachment shows a strange behaviour when using a grid control with splitter. Please read ReproductionSteps.doc document containted in the zip to reproduce the problem. The code in attachment is simple and we were not able to tell if we are missing something or it is a splitter bug. Thank you in advance Riccardo

Splitter_2005.zip

Administrator [Syncfusion]
Replied On April 21, 2006 09:51 AM UTC

Hi Riccardo, Could you try this code to close the form.Here is a code snippet. public const int SC_CLOSE = 0xF060; public const int WM_SYSCOMMAND = 0x0112; protected override void WndProc(ref System.Windows.Forms.Message m) { if (m.Msg == WM_SYSCOMMAND && (int)m.WParam == SC_CLOSE) { this.Close(); this.Dispose(); } base.WndProc(ref m); } Here is a modified sample. http://www.syncfusion.com/Support/user/uploads/Splitter_2005_fbc74c1.zip Let us know if this helps. Regards, Haneef

Riccardo Tarli
Replied On April 21, 2006 11:01 AM UTC

Thanks a lot Haneef for your quick reply. Yes, it works. However we assume this is a workaround. In our project Syncfusion grid is encapsulated in a User Control. Therefore each application that potentially use this control must override the WndProc of the form. I know, this is not a big code change, however we would like not introduce any side effect in any hosting application. Is this a bug that will be fixed in the near future? Should I open a Direct Track incident? Thank you Riccardo

Administrator [Syncfusion]
Replied On April 21, 2006 11:28 AM UTC

Hi Riccardo, Thanks for your update. I have contacted the development team regarding this issue and will update you soon. Sorry for the inconvenience caused. Thanks for your patience. Best Regards, Haneef

Administrator [Syncfusion]
Replied On April 21, 2006 01:37 PM UTC

Thank you very much Haneef. Riccardo

Administrator [Syncfusion]
Replied On April 25, 2006 05:53 AM UTC

Hi Riccardo, We regret for the inconvenience caused. We were able to see the issue here and I have logged a bug report. You could track the progress of the issue here: http://www.syncfusion.com/support/issues/grid/Default.aspx?ToDo=view&questId=1955 Thanks for your patience, Regards, Haneef

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.

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

;