Posted 23 August 2024, 8:26 am EST
Hi,
I put on my Winform .net8 application multiple controls from C1.Win.Input (like Combobox, TextBox)
When I scroll long time and move mouse during scroll between each controls, I obtain a crash of the application, with null ref exception.
Stack trace I obtain with your sample ControlExplorer application, on the TextBox part :
à C1.Win.Input.Base.Editors.InputTextEditor.OnMouseWheel(MouseEventArgs e)
à System.Windows.Forms.Control.WmMouseWheel(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.TextBoxBase.WndProc(Message& m)
à System.Windows.Forms.TextBox.WndProc(Message& m)
à C1.Win.Input.Base.Editors.InputTextEditor.WndProc(Message& m)
à C1.Win.Input.Base.Editors.InputTextEditor.RaiseWndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
à Windows.Win32.PInvoke.DispatchMessage(MSG lpMsg)
à System.Windows.Forms.Application.ComponentManager.Microsoft.Office.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)*
Is there a solution to bypass this problem ?
Thank you in advance,
Kind regards,
Patrick