splitting the screen in a Win32 console application

This is a discussion on splitting the screen in a Win32 console application within the C Programming forums, part of the General Programming Boards category; I am trying to get my program to take the input of the user on the bottom of the screen ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    1

    splitting the screen in a Win32 console application

    I am trying to get my program to take the input of the user on the bottom of the screen in an input area, and show the output on the rest of the screen (hoping to use printf, or something very similar). I am also hoping to have a small amount of ASCII art work on the sides of the screen about the input section. My team mate and I have been messing with buffers and such, but not had much luck. This is a Win32 console application. Can anyone help? Thanks


    James

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    Well you could update the entire screen (first by clearing it) every time input is given. If not then you will have to use something like the gotoxy to move around and output to different x, y coordiniates. Try looking on MSDN sense this is a Win32 console application for some console functions that you can use.

    This way you can create your own gotoxy which would work on any Windows compiler.

    Hope that helps.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. console application...
    By k1ll3r in forum C++ Programming
    Replies: 4
    Last Post: 05-23-2006, 10:41 AM
  2. Problem w/ console application compadibility
    By DarkMortar in forum C Programming
    Replies: 2
    Last Post: 05-16-2006, 07:13 PM
  3. Visual C++ 6.0 Console Application
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 12-25-2001, 06:17 PM
  4. Is it possible to get a console up with a win32 app?
    By SilentStrike in forum Windows Programming
    Replies: 2
    Last Post: 12-18-2001, 04:15 PM
  5. Displaying BMP in DJGPP (Win32 Console)
    By CBGMan in forum C++ Programming
    Replies: 1
    Last Post: 11-03-2001, 12:59 PM

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