Text Based Game, Windows API.

This is a discussion on Text Based Game, Windows API. within the Windows Programming forums, part of the Platform Specific Boards category; I need a box to display scrolling information from the game...ie. battles and such. But I need it in my ...

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

    Text Based Game, Windows API.

    I need a box to display scrolling information from the game...ie. battles and such. But I need it in my windows form, my question is...is 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?

    Thanx.

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    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
    Shadow12345
    Guest
    Hey I recognize your signature from code complete, where did they get the quote from?

  4. #4
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,853
    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, 03: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, 06:35 PM

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