QB64 Phoenix Edition
Is _WHEEL not working? - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://staging.qb64phoenix.com/forumdisplay.php?fid=10)
+---- Thread: Is _WHEEL not working? (/showthread.php?tid=1626)

Pages: 1 2


RE: Is _WHEEL not working? - TerryRitchie - 04-20-2023

(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.


RE: Is _WHEEL not working? - TempodiBasic - 04-20-2023

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.


RE: Is _WHEEL not working? - SMcNeill - 04-21-2023

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


RE: Is _WHEEL not working? - bplus - 04-21-2023

Why not just click and drag with _MouseX and _MouseY?