Hello all,
can anybody from Infragistics look in the source code at Infragistics.Win.EditorWithMask.AccessibleTextManager.AccessibleTextSubclasser.WndProc, if the message WM_INPUTLANGCHANGEREQUEST = 0x0050 is handled?
Problem: we have an MDI Application, 1 MDI Child Form is open, on it a few text boxes and a grid. The user changes the language by Alt + Shift or Click in the task panel. The whole application freezes. I could not reproduce this in a simple project. Stack trace:
[Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m) + 0x93 bytes System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref System.Windows.Forms.Message m) + 0xc bytes System.Windows.Forms.dll!System.Windows.Forms.Control.WmInputLangChangeRequest(ref System.Windows.Forms.Message m) + 0x45 bytes System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x7ad bytes System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m) + 0x130 bytes System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x5 bytes Infragistics2.Win.v11.2.dll!Infragistics.Win.EditorWithMask.AccessibleTextManager.AccessibleTextSubclasser.WndProc(ref System.Windows.Forms.Message msg) + 0x5f bytes
Thanks a lot,
Anca
Hello Anca,
Thanks for provided information and stack trace. At that moment I didn`t met such issue. Could you please tell me what is your version and do you have any installed service release and which one. Also could you please tell me, are you using Multiple threads in your application ?
Let me know if you have any questions.
Regards
Hello Georgi,
we have 11.2 with the latest service release (2124).
Thanks for your help,
Hi Anca,
I was looking in to this call stack and also can’t tell what can cause this.
Can you please give me more details about this scenario. Is the application using threads, also on which OS did you reproduce this issue?
I am looking forward to hearing form you?
Hi Dimi,
it's Windows XP and multithreading, yes.
I am glad to hear that.
no, I couldn't isolate it. It was a splash screen which we show as long as the main screen loads. I had to rewrite some code parts and now the issue is gone.
Thanks for your support,
I am just checking if you manage to fins what was the issue or if you manage to isolate it in a simple scenario.
Let me know if we can help you furthered with this.
I have verified with our development team and we are correctly handling the WM_INPUTLANGCHANGEREQUEST. So the issue you are facing seems related to more complicated scenario. Since you are using threading I am not completely sure if this is not threading issue. Form the call stack I couldn’t see anything specific and I wonder if you are able to test your application with the latest version 12.1 for example. I have also tried to reproduce this but I guess your scenario is far complicated then MDI child with editors and I have no idea what you are doing in the background.
Can you try to isolate the scenario in order to reproduce the issue. If we have more about your scenario we will investigate it more deeply, the call stack seems not enough to go furthere.
I am looking forward to hearing from you.