Jump to content
Sign in to follow this  

ListView & Tab controls

Recommended Posts


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?


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)



Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.