LWJGL Forum

Programming => OpenGL => Topic started by: oramia on June 30, 2007, 08:02:19

Title: how to bring main window to front
Post by: oramia on June 30, 2007, 08:02:19
Hi all! I am running my game in windowed mode, and want to bring the main(opengl) window programmatically to foreground. How can I do it with lwjgl? There is a method called isActive() to learn foreground status, but I could not find something like setActive().

Thanks in advance!
Title: Re: how to bring main window to front
Post by: Fool Running on July 03, 2007, 17:09:55
There isn't a way to do that (to my knowledge). Why do you need to do it? It seems like a strange thing to need to do for a game
Title: Re: how to bring main window to front
Post by: oramia on July 03, 2007, 22:09:10
Thanks for the response, well I am using physics engine, and I have some crashes on C++ code, so i made the code as a server that can be called by a different application. In fact I have coded a dice engine with dices rolling by physics engine etc, and I am attaching it to a game engine which kicks my code in when needed to display dices rolling etc... I am using canvas implementation now, and it is quite fine and fast.

But I still think that if we have a window mode (and which we have :)) it is good to have position, minimize, restore, bringtofront, topmost etc. functionalities

Thanks again