Thread: Edit boxes, and list boxes

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    215

    Edit boxes, and list boxes

    In my program, my edit and list boxes work fine, except for one thing. When it is getting something from an array, and it gets the "\n" or end of line or whatever, it creates this little square. I was wondering if anyone knew how to get rid of that little square.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    And the doctor says: "If it hurts, don't do it."

    You'll have to remove any characters from the array that you don't want to see - including '\r' and '\n' and '\t' etc...

    gg

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    215
    ok, thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multicolumn List Boxes
    By mikeman118 in forum Windows Programming
    Replies: 3
    Last Post: 11-04-2007, 10:10 PM
  2. filling in list boxes
    By vrek in forum Windows Programming
    Replies: 1
    Last Post: 05-27-2007, 01:48 AM
  3. List Boxes and Text Files
    By Daniel in forum Windows Programming
    Replies: 2
    Last Post: 07-02-2003, 04:16 PM
  4. list boxes
    By dpsalchl in forum Windows Programming
    Replies: 4
    Last Post: 04-24-2002, 12:09 AM
  5. Multiple item list boxes
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-07-2002, 09:59 AM