Dos4/gw

This is a discussion on Dos4/gw within the Game Programming forums, part of the General Programming Boards category; hi there can anyone tell me how to change in fullscreen (DOS4/GW) mode? some of the programs i've downloaded open ...

  1. #1
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140

    Dos4/gw

    hi there
    can anyone tell me how to change in fullscreen (DOS4/GW) mode?
    some of the programs i've downloaded open in the windows
    console and after a few seconds change into the fullscreen mode...
    but how? can anyone please tell me how to do this, thanks!
    Originally posted by marsface
    Screen 13, also known as Mode 13 is (was) used by
    demo programmers. This mode supplies 320x200x8 resolution.
    You can also access the video-mem directly.
    Which gives the programmer the freedom do to with
    the screen what he wants :-)
    well, i actually like to make demos before i start with some simple
    game programming (nothing really spectacular *g*). or it is better
    first do do some simple game programming before making demos?

    http://www.mlab.uiah.fi/~eye/demos/
    (that's exactly what i wanna do)

    or is it better to start showing some tiles on the screen and
    having a small pixel-guy running around on this screen?
    Last edited by dune911; 07-14-2002 at 06:03 AM.

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    145
    Um, this works for me in Dos, but it may not for you. It just sends to the computer that the keyboard pressed Alt+Enter (to maximize to full screen). Hope that helps.
    Code:
    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);
    "Um...well..."
    -Kyoto Oshiro

Popular pages Recent additions subscribe to a feed

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