Thread: editbox strings - visual c++

  1. #1
    Registered User
    Join Date
    Sep 2005

    editbox strings - visual c++

    hi, my program is using a dialog box in visual c++. I'm trying to use an editbox to print general information to help me make sure everything is working properly at runtime. I can make it print strings using the .Format member function, the problem is that when i want it to print another string it replaces the first one. Instead i'd want the new string printed on a newline saving the old string it had previously printed.

    any ideas?

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    I'm assuming you're using MFC? Do you want to append text to the edit box?

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Just making a list box and adding to the list has got to be a lot easier than appending text to an edit box.

  4. #4
    Registered User
    Join Date
    Sep 2005
    thanks a plenty

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Compiling Program
    By wco5002 in forum C++ Programming
    Replies: 13
    Last Post: 11-06-2007, 12:56 PM
  2. What's wrong with this code??
    By Xanth in forum C Programming
    Replies: 11
    Last Post: 12-23-2004, 02:41 PM
  3. header file bringing errors?
    By bluehead in forum Windows Programming
    Replies: 4
    Last Post: 08-19-2003, 12:51 PM
  4. Using 'if' with char arrays or string objects
    By c++_n00b in forum C++ Programming
    Replies: 36
    Last Post: 06-06-2002, 09:04 PM
  5. odd errors from msvc std library files
    By blight2c in forum C++ Programming
    Replies: 6
    Last Post: 04-30-2002, 12:06 AM