Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Lock window sizes

  1. #1
    Intern Contributor
    Join Date
    Mar 2012
    Posts
    50

    Lock window sizes

    A couple questions about window sizes in OpenGL and GLUT:

    (1) How can i lock a window at 720x480 OR fullscreen(windowed)? (ie: take over manual resize and only have maximize/minimize)

    (2) How can i lock a window at 720x480? (take away resize AND maximize button)

    (3) How can i lock a window at fullscreen(windowed)?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,101
    These are not strictly OpenGL problems; GLUT is only meant as a shell on the operating system window creation of a simple winodw; you need to trap resize events to stop a window resize.

  3. #3
    Intern Contributor
    Join Date
    Mar 2012
    Posts
    50
    Oh ok, what would I need to do to trap resize events?

Posting Permissions

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