Weird MaxGui/EVentHook behavior

BlitzMax Forums/BlitzMax Programming/Weird MaxGui/EVentHook behavior

TomToad(Posted 2006) [#1]
try this code

When you move the mouse around on the canvas, the X and Y positions get updated. When the mouse leaves the canvas area, the X and Y positions stop updating. However, if you press and hold the mouse button while you move, the X and Y positions continue to update even when you leave the canvas. It'll even report negative values if you move the mouse to the left or above the canvas.