Grabbing the mouse when the mouse button is held down?

Started by CuppoJava, May 16, 2006, 17:15:54

Previous topic - Next topic

CuppoJava

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

Fool Running

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
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D