Full Screen ?

This is a discussion on Full Screen ? within the C++ Programming forums, part of the General Programming Boards category; i know you have to add devmode but where in your code do you add it because i keep getting ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    27

    Full Screen ?

    i know you have to add devmode but where in your code do you add it because i keep getting errors ?

    i think it goes like this:

    Code:
    DEVMODE devModeScreen;
    memset(&devModeScreen,0,sizeof(devModeScreen));
    devModeScreen.dmSize = sizeof(devModeScreen);
    devModeScreen.dmPelsWidth = screenWidth;
    devModeScreen.dmpelsHeight = screenHeight;
    devModeScreen.dmBitsPerPel = screenBpp;
    devModeScreen.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL;
    Last edited by slx47; 05-11-2002 at 11:59 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Full Screen
    By Unregistered in forum C++ Programming
    Replies: 25
    Last Post: 06-12-2009, 01:33 PM
  2. Opening in full screen
    By MaGaIn in forum C++ Programming
    Replies: 14
    Last Post: 08-21-2007, 11:12 AM
  3. Full Screen
    By Rainer in forum C++ Programming
    Replies: 4
    Last Post: 08-08-2003, 05:56 AM
  4. !!!!!!Full screen!!!!!
    By Lukas in forum C++ Programming
    Replies: 2
    Last Post: 03-19-2003, 03:43 AM
  5. Full Screen
    By JamMan in forum C++ Programming
    Replies: 3
    Last Post: 11-21-2001, 02:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21