I mean, through SetWindowText. You can set the textbox's text.
EM_GETLINE:
Basically means you need to set the text first using SetWindowText.Copies a line of text from an edit control and places it in a specified buffer. You can send this message to either an edit control or a rich edit control.
I mean, if you set a text to an edit with SetWindowText, it will redraw itself automatically when it needs to (actually, it will always redraw itself, but in case it has any text, it will redraw the text of course).
A screenshot is possible, too... I'm not sure how to do, but maybe something like getting the textbox's dc and bliting it to a bitmap? And then bliting it back?