Manuel §2.14.9    

Fonction GetSelIndex

Pour une boite à liste à sélection unique, la fonction GetSelIndex rend l ’index de la ligne sélectionnée (commençant à 0) ou une valeur négative si aucun élément n ’est sélectionné.

Mode = lbMode.GetSelIndex() ;