Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How does one clear all information in a list box? Cheers Ayush
SendMessage(hwnd, LB_RESETCONTENT, 0, 0); hwnd = handle to the window (list box)
Hi! The easier way to clear a listbox contents is to use the ResetContent function. If your control member variable that represents your ListBox is m_lsXXX then just write m_lsXXX.ResetContent(); I hope this helps