- Code: Select all
at ComponentFactory.Krypton.Toolkit.KryptonMaskedTextBox.InternalMaskedTextBox.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at ComponentFactory.Krypton.Toolkit.PI.RedrawWindow(IntPtr hWnd, IntPtr rectUpdate, IntPtr hRgnUpdate, UInt32 uFlags)
at ComponentFactory.Krypton.Toolkit.VisualForm.InvalidateNonClient(Rectangle invalidRect, Boolean excludeClientArea)
at ComponentFactory.Krypton.Toolkit.VisualForm.InvalidateNonClient()
at ComponentFactory.Krypton.Toolkit.VisualForm.OnNeedPaint(Object sender, NeedLayoutEventArgs e)
at ComponentFactory.Krypton.Toolkit.KryptonForm.OnWindowActiveChanged()
at ComponentFactory.Krypton.Toolkit.VisualForm.set_WindowActive(Boolean value)
at ComponentFactory.Krypton.Toolkit.VisualForm.OnWM_NCACTIVATE(Message& m)
at ComponentFactory.Krypton.Toolkit.VisualForm.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
If I compile the source for 4.3.1, but replace the KryptonMaskedTextBox.cs with the version from 4.2.0.0 (there's just a couple of lines of code changed) it works fine, so appears a bug has been introduced here.