PyCListBox.SetCaretIndex

SetCaretIndex(index, bScroll)

Sets the focus rectange to a specified item.

Parameters

index : int

The zero based index of the item.

bScroll=1 : int

Should the listbox scroll to the item?

MFC References

CListBox::SetCaretIndex