Dela via


CVSListBox::GetSelItem

Retrieves the zero-based index of the currently selected item in an editable list control.

virtual int GetSelItem() const;

Return Value

If this method is successful, the zero-based index of the currently selected item; otherwise, -1.

Requirements

Header: afxvslistbox.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CVSListBox Class