View Full Version : How to Maximize a screen using glut

02-19-2013, 11:20 PM
I've spent at the last 3 hours googling maximize window glut/freeglut/opengl/etc and have come up empty handed. Simply re-sizing the window using the queried screen width and height in pixels is not what I want, since the maximize button will not be replaced with the re-size button. I have tried querying the window style (WinApi32 styles) and setting the WS_MAXIMIZE bits and of course that doesn't work while ~WS_MAXIMIZEBOX successfully disables the maximize box. I've also tried using glutGameModeString etc and that doesn't work either. Please any help would be much appreciated.