I was having trouble Scrolling a listbox whenever new strings were added to it, and when I googled it the closest answer I got was this post: 26718 but it wasn't much help.
I got it working though, and I thought to post the solution here, in case somebody else might find it helpfull.
Code:m_cList.AddString(strMsg); \\m_cList is an object of CListBox m_cList.SetCaretIndex(m_cList.GetCount(), TRUE);