In a listbox, I select one of the items programatically. It works, but that item doesn't scroll up into view.

How do I force the selected item to scroll into view?

Code:
		int i = m_listbox.FindStringExact(-1,str);
		m_listbox.SetSel(i,TRUE);
		m_listbox.SetCaretIndex(i);
thanks.