Chat on IRC |
VC++: SetWindowText
Posted by FrEAkiSh209 [send private reply] at June 03, 2002, 03:13:02 PM
Is there a way to add text to a static text box using SetWindowText, or possibly another function, so that the previous text is not cleared?
Posted by metamorphic [send private reply] at June 03, 2002, 03:27:14 PM
how about using a function to add text to a box but using itself as an R value?
boxtext = boxtext + newboxtext should give you the old text from the box with the new text.
Posted by CViper [send private reply] at June 03, 2002, 03:45:40 PM
As metamorphic said, you probably want to look at GetWindowText() and strcat() (or whatever you prefer for merging strings)...
Register as a new user | |||||