Returns the selection state of a list-box item
[C++]
int GetSel(
int nIndex
) const;
Specifies the zero-based index of the item in the list box.
A positive number if the specified item is selected; otherwise, it is 0. The
return value is -1 if an error occurs.
Retrieves the selection state of an item.
Header: xldialog.h