CListBox.ResetContentmethod
Removes all items from a list box.
Syntax
SUB ResetContent (BYVAL hListBox AS HWND)
Description
Removes all items from a list box.
Remarks
If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, the owner of the list box receives a WM_DELETEITEM message for each item in the list box.
Example
CListBox.ResetContent(hListBox)
Reference
- Include file
CListBox.inc - Defined in AfxNova/CListBox.inc:402
- Documented in Windows/WIndows Controls/CListBox Class.md
- Topic: CListBox Class