VS中用C语言,清空listbox1中的内容,VS中怎样清空ListBox1中的内容
调用CListBox的ResetContent()接口即可清空
SendMessage(你的listbox的句柄,LB_RESETCONTENT)
listbox1=clear
listbox1.text="";