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 4 of 4

Thread: hide openGL window

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2004
    Posts
    3

    hide openGL window

    hello i have not found this in any of the books i have and im sure there is something for it out there. is there anyway to hide/get rid of an openGL window. i have a program that i am writting and i have options to display a certain window and then i also need to have the option to take it away. is there any command in glut or openGL that can do this for me?

    any help is greatly appreciated.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2000
    Location
    Naarn, Austria
    Posts
    1,142

    Re: hide openGL window

    With glut:
    glutHideWindow()
    glutShowWindow()
    glutIconifyWindow()

    These change the state of the current glut window, but not at once but only after the program returns to the glut main event loop.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    2,704

    Re: hide openGL window

    Moderator locked the first copy of this thread, and you just posted again? I'd suggest you take the hint, and move this question to a forum that's suited for the question (probably the platform-dependent forum for whatever platform you're using).
    "If you can't afford to do something right,
    you'd better make sure you can afford to do it wrong!"

  4. #4
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: hide openGL window

    I did not lock the thread I moved it to the beginners forum. I'm locking this one, please see your original thread in the beginners forum for replies.

Posting Permissions

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