//清空listbox数据
int Count = m_list.GetCount();
for (int i = Count; i >= 0; i--)
{
m_list.DeleteString(i);
}
MFC ListBox清除所有项
最新推荐文章于 2024-03-16 13:15:40 发布
//清空listbox数据
int Count = m_list.GetCount();
for (int i = Count; i >= 0; i--)
{
m_list.DeleteString(i);
}