J'ai fini par trouver une solution, pour ceux que ca intéresse :
Code :
- void AppendText(LPCTSTR text)
- {
- int iTotalTextLength = this->GetWindowTextLength();
- // go to end
- this->SetSel(iTotalTextLength, iTotalTextLength);
- this->ReplaceSel(text);
- }
|
Message édité par AsTro le 21-07-2005 à 11:39:00