Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
New to QB64pe? Visit the QB64 tutorial to get started.
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?
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  plotting shapes not working madscijr 6 658 10-22-2025, 05:29 AM
Last Post: SMcNeill
  why isn't _FULLSCREEN working? madscijr 5 533 09-20-2025, 01:47 AM
Last Post: SMcNeill
  I'm working on an old MS-DOS thingy... KlamPs 2 519 08-25-2025, 09:43 AM
Last Post: hsiangch_ong
  blue circle isn't drawing and print isn't working? madscijr 12 2,351 09-21-2024, 06:13 PM
Last Post: madscijr
  Updating Clock at a different rate to program loop-example not working as expected? dowster 1 618 08-15-2024, 12:06 PM
Last Post: luke

Forum Jump:


Users browsing this thread: 1 Guest(s)