darkjohn20 Posted October 21, 2009 Share Posted October 21, 2009 Ok, so when I start my script, my listview has no entries. DeleteAll at this point returns TRUE. Then, when I add 50 entries and try to DeleteAll, it returns FALSE. My ListView is made using built-in functions, and _GuiCtrlListView_AddArray works just fine (Placed in my code right after DeleteAll to refresh the whole ListView) Is there anything that would be stopping this from running? I am using the correct handle, and just to make sure it would work in my function, I made the handle global. Thank you. Link to comment Share on other sites More sharing options...
Authenticity Posted October 21, 2009 Share Posted October 21, 2009 The handle of the return value of the built-in functions or the handle of GUICtrlGetHandle()? Anyway, can you post the relevant code? Link to comment Share on other sites More sharing options...
darkjohn20 Posted October 22, 2009 Author Share Posted October 22, 2009 Oops...Didn't realize there was more than one way to get a handle. Thank you very much Authenticity, $ListView = Built-In Create List View $hListView = GUICtrlGetHandle($ListView) _GuiCtrlListView_DeleteAll($hListView) works. 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