MouseMoveEvent
MouseMoveEvent
Using the mouse move event, it seems to be triggering whether or not the mouse is moving within the controls region.
Re: MouseMoveEvent
Hi
I did a quick test: MouseMove event is handled only in C# ViewPoint sample, OnMouseMoveKernelCAD(). It seem to break in the handler only when the mouse enters the KC window area.
May be you are enabling mouse capture? There is also non-client NC mouse handling I am not sure if .NET can force handling of it
Send us a quick test if you do not see anything
Regards
Nick
I did a quick test: MouseMove event is handled only in C# ViewPoint sample, OnMouseMoveKernelCAD(). It seem to break in the handler only when the mouse enters the KC window area.
May be you are enabling mouse capture? There is also non-client NC mouse handling I am not sure if .NET can force handling of it
Send us a quick test if you do not see anything
Regards
Nick
Re: MouseMoveEvent
Hi. I checked again. The issue isn't to do with the control.
During long operations or interface changes, to reduce flicker we stop all controls redrawing, and resume them after all changes have completed.
But to make it redraw it at the end, we invalidate the controls. and apparently this has the effect of resetting events too, causing the event call again
I solved this in our situation to only call if the cursor position changes
thanks for checking
During long operations or interface changes, to reduce flicker we stop all controls redrawing, and resume them after all changes have completed.
But to make it redraw it at the end, we invalidate the controls. and apparently this has the effect of resetting events too, causing the event call again
I solved this in our situation to only call if the cursor position changes
thanks for checking