To reproduce RadGridView (or other RadControl) flooding WM_TIMER messages do the following
1. Create a simple WinForms project with a RadGridView in it.
2. Open spy++ tool (it comes with Visual Studio).
3. Attach the process that is running the WinForms and choose to display its messages.
4. You should now see a lot of WM_TIMER messages as shown in the gif file.
Hi,
I would like to follow up with more details about the functionality of timers that is improved with the latest changes.
Each RadControl uses a Timer internally to enrich the end-user experience and make the control inner elements interactive: to track the position of the mouse cursor, update the visual state of its inner elements and to raise bubble and tunnel mouse events in the elements hierarchy.Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi, Vamsee,
Thank you for bringing this to our attention. I would like to give some more details why these messages occur and why they occur in such a great number. All controls from the Telerik UI for WinForms suite are built on top of the Telerik Presentation Framework which provides rich UI capabilities compared to the standard WinForms controls. Any control in the Telerik UI for WinForms suite is composed of RadElement instances arranged in a logical tree. This allows high level of customizing and styling/theming mechanism. The ComponentInputBehavior is responsible for the mouse detecting at a global level for every control and its elements. Thus, features like selection, hover effect, or any mouse interaction are being accomplished. For this purposes, the behavior uses two timers which explains the WM_TIMER messages. If these messages are terminated, the input behavior would not be able to detect the mouse handling in a proper way and core functionality for the controls is not guaranteed that will work properly. The more controls you have on the form, the more timer messages will be observed.
We will do our best to provide a solution accordingly. Make sure that you follow the item in order to get notified once any status changes occur.Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.