Clear ListBrowser
Posted: Thu Oct 29, 2015 1:55 am
I am not seeing an easy way to clear (remove all text from) a listbrowser. Detaching the list does not clear it. IListBrowser->FreeListBrowserList(lblist2); does not clear it.
The issue I have is my listbrowser ColumnInfo will vary in number of columns depending on what the user is currently doing. So adding back a blank list could be tedious. And more work to then detach that list, clear it, add new real list.
Is there an easy way to detach the list, wipe the gadget display area clean, do some stuff, add a new list when ready?
ClearListBrowserDisplayArea() would be a nice addition.
The issue I have is my listbrowser ColumnInfo will vary in number of columns depending on what the user is currently doing. So adding back a blank list could be tedious. And more work to then detach that list, clear it, add new real list.
Is there an easy way to detach the list, wipe the gadget display area clean, do some stuff, add a new list when ready?
ClearListBrowserDisplayArea() would be a nice addition.