ryeguy Posted November 29, 2005 Share Posted November 29, 2005 When I clear a listview, or delete it, every single listviewitem has to be deleted in it first. I have alot of items in the list and it takes a decent amount of time to do it. Is there any fast way, no matter how hackish it may be to instantly clear a listview? Link to comment Share on other sites More sharing options...
GaryFrost Posted November 29, 2005 Share Posted November 29, 2005 Const $LVM_DELETEALLITEMS = 0x1009 GUICtrlSendMsg($h_listview, $LVM_DELETEALLITEMS, 0, 0) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
ryeguy Posted November 29, 2005 Author Share Posted November 29, 2005 (edited) Thanks, that's perfect. While we're at it, since you made the include for the listview functions, do you know of a quick way to add lots of items at once? Edited November 29, 2005 by ryeguy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now