Is _WHEEL not working?
#11
(04-20-2023, 09:09 AM)Jack Wrote: Hello TerryRitchie
I can click and drag the icons but the mouse pointer moves faster than the icon being dragged, it does not stay on the icon but moves further and further away from the icon as you move it

Exactly, that is not correct behavior. I wrote it so that the mouse pointer stays fixed on the icons while dragging them around. In QB64 version 0.954 this works as expected.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply
#12
Hi Terry
iOs Clone.bas works almost good, a little difference in position between mouse pointer and square dragged.
It is more visible when you point to the upper edge of the square.
Reply
#13
v0.954 was the old SDL version.  Starting at 1.0, Galleon swapped everything over to GL-based and apparently this is something that's been more-or-less broken ever since.  Since it's not something that folks tend to use very frequently (as this is the first report on it in the last half dozen years, at least), I don't think it'll end up high on the patch list, so a lot of patience will probably be required before a fix is pushed to address the issue.  

A work around might be possible, if you use _mousemove to move the mouse back to position onto the icon, after the icon moves, so that that "drift" between the two doesn't keep occurring.  That's the type of hack me and Pete worked up when using the mouse to drag borderless windows across the screen anyway.  Wink
Reply
#14
Why not just click and drag with _MouseX and _MouseY?
b = b + ...
Reply




Users browsing this thread: 6 Guest(s)