Mouse events for an openGL window
Hi,
I'm trying to implement an UI in my openGL window interface
and trying to handle the mouse events (for now before doing the keyboard events)
I get the mouse down/up events without any problems.
and the mouse Moved ok (if a button is not down).
but I do NEVER get the mouseDragged event or a mouseMoved event
if my mouse button is down.
I'm looking at TrackingLocation but seems complex for what I want to do,
don't really need multi-threading for now ...
Thanks !
Francois
I'm trying to implement an UI in my openGL window interface
and trying to handle the mouse events (for now before doing the keyboard events)
I get the mouse down/up events without any problems.
and the mouse Moved ok (if a button is not down).
but I do NEVER get the mouseDragged event or a mouseMoved event
if my mouse button is down.
I'm looking at TrackingLocation but seems complex for what I want to do,
don't really need multi-threading for now ...
Thanks !
Francois
Language? API?
Doh, didn't spot the board the post was in
well I don't even get the mouseDragged event ...
I do get the mouseDown event but after this one,
no MouseMoved or MouseDragged event until I release
the button (MouseUp) then I get MouseMoved events again ...
I did write a first experiment some time ago using a full screen
window and got the mousedragged event , and I use the
exact same code for event handling ... so I guess that dragged
event doesn't make it to my handler :/
sorry don't have my source code right here...
I'll post it later today.
I do get the mouseDown event but after this one,
no MouseMoved or MouseDragged event until I release
the button (MouseUp) then I get MouseMoved events again ...
I did write a first experiment some time ago using a full screen
window and got the mousedragged event , and I use the
exact same code for event handling ... so I guess that dragged
event doesn't make it to my handler :/
sorry don't have my source code right here...
I'll post it later today.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Full screen mouse events | Mister T | 17 | 7,489 |
Jan 4, 2010 02:55 PM Last Post: MacMan |
|
| Detecting window focus events | Coyote | 2 | 2,987 |
Oct 23, 2009 03:01 PM Last Post: Coyote |
|
| Window focus events in Cocoa | Jar445 | 2 | 4,383 |
Jan 18, 2009 06:02 PM Last Post: Jar445 |
|
| Mouse Events in NSView | Chandhu | 1 | 3,532 |
Feb 28, 2008 02:08 AM Last Post: kuon_ |
|
| Calculate mouse position in opengl | MACnus | 1 | 3,183 |
Nov 8, 2006 01:02 PM Last Post: akb825 |
|

