MouseMoveEvent

Forum for reporting problems
Post Reply
atrev
Posts: 24
Joined: Tue Jul 30, 2013 9:19 am

MouseMoveEvent

Post by atrev »

Using the mouse move event, it seems to be triggering whether or not the mouse is moving within the controls region.

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: MouseMoveEvent

Post by nickz »

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

atrev
Posts: 24
Joined: Tue Jul 30, 2013 9:19 am

Re: MouseMoveEvent

Post by atrev »

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

Post Reply