CListBox::SetCaretIndex

Call this member function to set the focus rectangle to the item at the specified index in a multiple-selection list box.

Syntax

int SetCaretIndex( int nIndex, BOOL bScroll = TRUE );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetCaretIndex