Lost Focus! Help.

Started by coasternuts, July 20, 2005, 11:54:20

Previous topic - Next topic

coasternuts

I'm a newbie to LWJGL and my application runs Runtime.exec().  The process I run gains focus but I never get it back even though my application is running.  

Is there anything I can do?  I am willing to run another application that grabs/manipulaties/restores focus to other applications.

oNyx

>my application runs Runtime.exec()

Why?

coasternuts

Why?  Why not.  :D

I am writing a game front-end to other application(s).  Yes I am aware of others, but I'm adding my personal touch using OGL, but as usual, there are obvious problems with not so obvious solutions.

coasternuts

Just to update anyone who cares.  I wrote a Windows specific .DLL and a JNI wrapper to grab the focus after returning from exec().  It works great!

Now I seem to be having another problem that appears to be LWJGL specific... but that's for a new topic.

Matzon

one does wonder if lwjgl should have a grab focus functionality - since there may be a pleathora of reasons for having that...

spasi


princec

Ok then, let's add it.

Cas :)

elias4444

=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com