Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ resources

12. Windows Forms from MFC

12.8 How do you clear the contents of a list box?


You have to access the Items of the ListBox using the Items property and clear (or otherwise operate on the items) these.


this.lb1.Items.Clear();