
How to set scroll down a CListBox to the bottom?
try
int nIdx = m_cListBox.AddString((LPCTSTR)strLine);
if(nIdx != LB_ERR)
m_cLogArea.SetTopIndex(nIdx);
Quote:
>-----Original Message-----
>How to make a CListBox object scroll down to its bottom
>every time a new string is added?
>.