Adding to text in an edit

This is a discussion on Adding to text in an edit within the Windows Programming forums, part of the Platform Specific Boards category; I'm a bit rusty on my windows programming (not that I ever knew that much) and I'm trying to make ...

  1. #1
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972

    Adding to text in an edit

    I'm a bit rusty on my windows programming (not that I ever knew that much) and I'm trying to make a chat program. I want to be able to add to the text in my edit control without rewriting the whole thing, is there any way to do that?
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,659
    Use EM_SETSEL and EM_REPLACESEL.

    gg

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, 11:56 AM
  2. need to edit text from within my application.
    By spiroth10 in forum C++ Programming
    Replies: 2
    Last Post: 12-15-2006, 02:15 PM
  3. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 01:59 PM
  4. Edit Text color for specific lines
    By JaWiB in forum Windows Programming
    Replies: 7
    Last Post: 07-08-2004, 03:03 PM
  5. Adding text to a disabled edit box
    By osal in forum Windows Programming
    Replies: 1
    Last Post: 06-16-2004, 01:23 PM

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