Hi ,
I am using CEditView to create an Edit View with in a flyby Dialog Box in a Dialog Based (MFC Application) .
The prob is that the Text is not getting scrolled with in the editbox though the text has "\n" characters
editview->Create(NULL," ",CEditView::dwStyleDefault |WS_CHILD | WS_VISIBLE |ES_MULTILINE |ES_AUTOVSCROLL |ES_AUTOHSCROLL,CRect(10,10,500,500),mydialog,7);
CEdit& theEdit = editview->GetEditCtrl();
theEdit.SetWindowText(tbuf2);
mydialog->ShowWindow(SW_SHOW |SW_SHOWNORMAL );
buf2 is a CString object . am not able to see why the edit box can not scroll down the text .
regards
shishir