Thread: Text Based Game, Windows API.

  1. #1
    Registered User
    Join Date
    Mar 2002

    Text Based Game, Windows API.

    I need a box to display scrolling information from the battles and such. But I need it in my windows form, my question the only way to do it through the list box? Take the commands through a parser and filter the response into a listbox line by line or is there a simpler way?


  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    A listbox would probably be the easiest way. You could also, try a text box and keep adding text to the end. The listbox idea sounds easier though.

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

  3. #3
    Hey I recognize your signature from code complete, where did they get the quote from?

  4. #4
    train spotter
    Join Date
    Aug 2001
    near a computer
    I would use a DC and ScrollDC().

    This would give me finer control over the text and formatting.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating a simple Windows game
    By ejohns85 in forum C Programming
    Replies: 1
    Last Post: 05-22-2009, 12:46 PM
  2. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  3. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  4. text based game
    By PippinofTook in forum Game Programming
    Replies: 5
    Last Post: 08-24-2005, 06:56 PM
  5. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 07:35 PM