Thread: CDS_FULLSCREEN in OpenGL

  1. #1
    ‡ †hë Ö†hÈr sîÐè ‡ Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299

    Question CDS_FULLSCREEN in OpenGL

    I'm new with OpenGL And I keep getting a compile time error in

    ChangeDisplaySettings(&dmScreenSettings, CDS_FULLSCREEN)

    CDS_FULLSCREEN is undefined and I know nothing about it.

    Could some one explain this fuction to me or tell my were I could find some information on it.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    61
    At the top of your code under all your include files put this:

    #define CDS_FULLSCREEN 4

    this should fix it.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    3
    Same as above ^

    I have a useful help file about openGL.All my help files are messed up but I think it's the win32 api reference from:
    http://www.bloodshed.net/dev/docs/doc_win32.html
    Last edited by speedway; 11-15-2001 at 04:32 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM