adding text to an edit control

This is a discussion on adding text to an edit control within the Windows Programming forums, part of the Platform Specific Boards category; How do you append text to an edit control. ? SetWindowText() removes old text and adds the new text... i ...

  1. #1
    Registered User steve_i83's Avatar
    Join Date
    Aug 2001
    Posts
    42

    adding text to an edit control

    How do you append text to an edit control. ?

    SetWindowText() removes old text and adds the new text... i need to append...

    thnxs
    C Rulz!

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    So call GetWindowText() to get what is there already, strcat the new and then SetWindowText().

    Didn't we just do this one?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User steve_i83's Avatar
    Join Date
    Aug 2001
    Posts
    42
    oops ... didnt think of that...
    thxs
    C Rulz!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 12:56 PM
  2. Struggling to read text from Edit Control (box)
    By csonx_p in forum Windows Programming
    Replies: 6
    Last Post: 05-13-2008, 05:55 AM
  3. Appending to an edit control
    By TheDan in forum Windows Programming
    Replies: 2
    Last Post: 03-31-2006, 12:27 PM
  4. adding a line of text to a readonly edit control?
    By Kibble in forum Windows Programming
    Replies: 2
    Last Post: 11-25-2002, 09:04 PM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 10:45 PM

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