Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 1 of 1

Thread: How to Maximize a screen using glut

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Newbie Newbie
    Join Date
    Feb 2013

    How to Maximize a screen using glut

    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.
    Last edited by nfehrenb; 02-20-2013 at 09:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts