Hello,
I’m seeing the following error when I close a child mdi window that contains a textbox/combobox in Windows 7:
System.ComponentModel.Win32Exception: Error creating window handle.
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at Elegant.Ui.TextBoxBasedControl.TextEditorContainerWndProc(Message& m)
at Elegant.Ui.TextBoxBasedControl.TextBoxContainer.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Here are the relevant loaded assemblies:
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Elegant.Ui.Common
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/xxx/AR1000/Elegant.Ui.Common.DLL
----------------------------------------
Elegant.Ui.Ribbon
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/xxx/AR1000/Elegant.Ui.Ribbon.DLL
----------------------------------------
Elegant.Ui.Common.Theme.Office2007Blue
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/xxx/AR1000/Elegant.Ui.Common.Theme.Office2007Blue.DLL
----------------------------------------
Elegant.Ui.Ribbon.Theme.Office2007Blue
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/xxx/AR1000/Elegant.Ui.Ribbon.Theme.Office2007Blue.DLL
It works fine in XP and Vista on the same machine (different partitions). I know .NET 2.0 is installed on the Win 7 partition
Any ideas?
Thanks