title: Full screen in openGL
body: <p>I am trying to render an openGL window in fullscreen and am using the NeHe tutorials to learn how to do this. however I have reached a point where I am using the exact same code in both the example code given and my own code, but when it reaches this line:</p>
  
  <pre><code>if (ChangeDisplaySettings(&amp;dmScreenSettings,CDS_FULLSCREEN)!=DISP_CHANGE_SUCCESSFUL)
  </code></pre>
  
  <p>this doesn't evaluate to true in my code, even though it does in the example code given. this is even more confusing as while de-bugging everything was exactly the same up to this point.</p>
  
  <p>Is there something simple I'm missing such as something in the project properties, or if not, could someone advise me on any other ways of creating a full screen window.</p>
  
  <p>NeHe tutorial I am using:
  <a href="http://nehe.gamedev.net/tutorial/creating_an_opengl_window_%28win32%29/13001/" rel="nofollow">http://nehe.gamedev.net/tutorial/creating_an_opengl_window_%28win32%29/13001/</a></p>