Windows SDK Edit Control: How to append text to an edit control?
Q: Which is the best method to append text to an edit control?
A: One method is to call 'GetWindowText()' to get the initial text, append the new text to it, then put it back with 'SetWindowText()'.
This works, but is not practical, especially if the text lenght is huge and the appending is made very frequently.
A better solution is to put the edit selection at the end of the initial text, then simply replace the selection with the text to append: