LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: CuppoJava on May 16, 2006, 17:15:54

Title: Grabbing the mouse when the mouse button is held down?
Post by: CuppoJava on May 16, 2006, 17:15:54
Hi,
I'm programming a simple GUI and I'm trying to replicate some spinner behavior that I saw in Maya.

When the user presses on the spinner, the cursor disappears and the user may drag the cursor without being restrained by the bounds of the monitor.

How can I do this is LWJGL? I've tried grabbing the mouse on mouse press, but i've discovered that grabbing the mouse when a button is already down causes some weird problems.

-Cuppo
Title: hmmmmmmm...
Post by: Fool Running on May 16, 2006, 20:05:54
QuoteI've tried grabbing the mouse on mouse press, but i've discovered that grabbing the mouse when a button is already down causes some weird problems.
Bugs in LWJGL, maybe?

Sounds like: http://lwjgl.org/forum/viewtopic.php?t=1051