k3v Posted June 17, 2008 Share Posted June 17, 2008 I have a tab control created with GUICtrlCreateTab. I need a ListView, and originally tried using GUICtrlCreateListView... but I also need a way to delete all ListViewItems without knowing how many items there are... (they're created dynamically) so I used _GUICtrlListView_Create instead, so I could make use of _GUICtrlListView_DeleteAllItems. Trouble is, while GUICtrlCreateListView will obey my tab control interaction, _GUICtrlListView_Create will not. So... 1) is there a way to delete all ListView Items (without knowing how many there are) in a ListView created with GUICreateListView? or 2) how can I make a ListView created with _GUICtrlListView_Create coexist with, and respond to interaction with a tab control? (caveat... the tab control is heavily in use so far, so if I can get away with it, I'd rather not have to recode it to be created with _GUICtrlTab_Create) ver: 3.2.10.0 Thanks! Link to comment Share on other sites More sharing options...
GaryFrost Posted June 17, 2008 Share Posted June 17, 2008 with the latest you can use _GUICtrlListView_DeleteAllItems with the built-in control 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...
k3v Posted June 17, 2008 Author Share Posted June 17, 2008 Perfect! Thanks GaryFrost! 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