Edit boxes, and list boxes

This is a discussion on Edit boxes, and list boxes within the Windows Programming forums, part of the Platform Specific Boards category; In my program, my edit and list boxes work fine, except for one thing. When it is getting something from ...

  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,607
    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, 09: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

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