Hi Christian,

I'm finding that the OverlayMBS plugin is giving me repeated MouseMoved event 
on Windows 7x64 at the same x,y coordinates, even if the mouse is not moving.

It doesn't always happen - it seems like it's only triggered after some 
combination of window resizes, fullscreen, and perhaps using the windows 
"scrub" command (where you drag a window in a circle a few times, it hides all 
other windows onscreen).   

Once it starts, it won't stop, and the infinite events can cause a problem if 
your code does anything with them.

Workaround:

OverlayMBS.MouseMoved(x as integer, y as integer, modifiers as integer)
  #if TargetWin32
    // bug: getting repeated mouseMove events at same coordinate.  Supprese 
those
    if lastMouseX = x and lastMouseY = y then
      return true
    end if
    lastMouseX = X
    lastMouseY = Y
  #endif


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to