Alt tabbing Irrlicht in fullscreen produces some weird behaviour, namely it switches to windowed mode but without a window, you are stuck with a rectangle in the top left corner of the screen. Alt tabbing again sometimes switches the resolution in fullscreen??
I would like to do this properly cause it is a critical issue especially in a multiplayer game were people constantly alt+tab to chat with somebody.
How could I fix it? The simplest would be to minimize the application but I don't know how to do it in Irrlicht.
Alt + tab issues (minimizing?)
-
- Posts: 109
- Joined: Tue Jan 09, 2007 1:18 pm
Alt + tab issues (minimizing?)
Crimson Glory full Irrlicht game source code!
What I Do - my blog & dev log
Currently developing Link-Dead
What I Do - my blog & dev log
Currently developing Link-Dead
-
- Posts: 26
- Joined: Fri Aug 20, 2010 11:07 am
- Location: Bulgaria
using win api
if you need to make it minimize on alt+tab specificaly, just play around with
Code: Select all
ShowWindow(GetForegroundWindow(), SW_MINIMIZE);
Code: Select all
GetAsyncKeyState() // http://msdn.microsoft.com/en-us/library/ms646293(VS.85).aspx