Jump to content

ListView & Tab controls


k3v
 Share

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?

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...