How can I tell if a glut window has focus? Im using c#/tao, Ill use p/invokes if necessary.
Basically I want to ignore input if it doesn't have focus.
|
|
Here's the solution I've got so far
|
|||
|
|
|
I'd guess you have to use the regular win32 func to get the active window handle and compare it to your own. GLUT's focus functions don't behave as expected in Windows as they're based on move over to focus. |
|||
|