Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Fullscreen mode

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Santa Maria, CA, US
    Posts
    8

    Fullscreen mode

    this may seem a silly question... but... how do you make an OpenGL program run in full screen?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Fullscreen mode

    In Windows I presume? If so, you just change into the graphics mode you want to use, then create a pop-up window that is the same size as the screen. Then create the render context and initialize OpenGL.

    [This message has been edited by DFrey (edited 02-25-2001).]

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Santa Maria, CA, US
    Posts
    8

    Re: Fullscreen mode

    Then I still have a taskbar and title bar... and how do I change screen modes?

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: Fullscreen mode

    Use ChangeDisplaySettings( ... )

  5. #5
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    London UK
    Posts
    195

    Re: Fullscreen mode

    Add the topmost flag to get rid of the taskbar. It is not necessary to change display settings. Here is a hacked version of NeHe tutorial 5 that demonstrates different fullscreen modes: http://sites.netscape.net/ptrpck/switch.zip

  6. #6
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Fullscreen mode

    Are you suggesting that it is not necessary to change into 640x480x16 mode if I want to run fullscreen at that setting and the desktop is in 1024x768x32 mode?

  7. #7
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: Fullscreen mode

    Talking with me?

  8. #8
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Fullscreen mode

    Uh, no, mango. He wrote, "It is not necessary to change display settings". But it obviously is necessary to change the display mode if you want to run full screen at a resolution and/or color depth that is different from the desktop.

  9. #9
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    London UK
    Posts
    195

    Re: Fullscreen mode

    The question was "how do you make an OpenGL program run in full screen?" and the answer is that you creates a windows that is completly covering the screen without the GUI stuff. You do not have to change display settings for doing that.

    DFrey, your reply gave a rude impression and if that was your intention do I suggest that you stop. Instead of writing about things you belive is obvious true could you have examined the sample program.

  10. #10
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Fullscreen mode

    Yes, a fullscreen window is a window that covers the entire screne, and does not have any fancy buttons/bars/whatever. But what is your desktop is 1280x1024x32, and you want your application to run in fullscreen 640x480x16. How can you do that without change the display settings?

Page 1 of 3 123 LastLast

Similar Threads

  1. WGL and fullscreen mode
    By Dario in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 11-19-2003, 06:00 AM
  2. No red in fullscreen mode
    By skywings in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-31-2002, 01:09 PM
  3. fullscreen mode
    By saian in forum OpenGL: Linux
    Replies: 2
    Last Post: 05-01-2002, 04:08 PM
  4. fullscreen mode OS X?
    By in forum OpenGL: macOS
    Replies: 4
    Last Post: 08-06-2001, 01:36 PM
  5. Fullscreen mode
    By Marrcke in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 06-08-2000, 12:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean