DOS in Full Screen

This is a discussion on DOS in Full Screen within the C Programming forums, part of the General Programming Boards category; Hey, is it possible to throw DOS intro fullscreen? I can't seem to figure it out. And when it's in ...

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

    DOS in Full Screen

    Hey, is it possible to throw DOS intro fullscreen? I can't seem to figure it out. And when it's in Full Mode, what is the max x,y? I have XP so it's sorta hard to tell

  2. #2
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    alt-enter

    and the screen is 80x25
    hello, internet!

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    On xp it should be possible to use SendMessage() to send an Alt-Enter keystroke to the console window. As for coords. same as before going fullscreen (80,25)
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Code:
    #include <windows.h>
    
    int FullScreen ( void );
    
    int FullScreen ( void )
    {
        keybd_event(VK_MENU,0x38,0,0);
        keybd_event(VK_RETURN,0x1c,0,0);
        keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
        keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
        return 0;
    }
    Compliments of Shadow's website.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Detecting Full Screen Mode
    By ldd7812 in forum Windows Programming
    Replies: 2
    Last Post: 05-29-2008, 11:36 PM
  2. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  3. DOS screen output 'containment'
    By Unimatrix139 in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 12-19-2002, 04:08 AM
  4. hashing help
    By alokin in forum C Programming
    Replies: 17
    Last Post: 10-28-2002, 06:33 PM
  5. Running in full screen mode!
    By Skute in forum Game Programming
    Replies: 0
    Last Post: 12-10-2001, 03:56 AM

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