Dear Friends I am wirting an application where I need to display texts on the client window row wise on a new line. So I have created a class MyEdit derived from CListBox and trying to write text onto it. I am creating the object olf MyEdit like this . /////////////////////////////////////////////////////////////////////////////////////////////////////////// class MyEdit : public CListBox { }; /////////////////////////////////////////////////////////////////////////////////////////////////////////// myedit = new MyEdit(); myedit->Create(ES_MULTILINE | WS_CHILD | LBS_USETABSTOPS | WS_VISIBLE | WS_TABSTOP | WS_BORDER, rect/* CRect(0,0,1000,1000)*/,this, 1); myedit->AddString("Line no 1\t"); ///////////////////////////////////////////////////////////////////////////////////////////////////////// But in the first place it's not writing texts onto the clientwindow (or ListBox) can anyone tell me whats the problem...????? After writing I want to write a second texts in the 2nd line.. Please hel p me someone...