Jump to content

Listview with Icons, but only in the subItems


Go to solution Solved by AutoBert,

Recommended Posts

I made a iconLVw.au3showing the the Icon for DLL's.

Each LV-Item has 8 SubItems and only the SubItems should have a Icon. The Item himself should only be used for the checking State. This is used to save the selected Items to Disk for future use. But in my script each Item shows the same (first Index in ImageList) Icon, At the moment i use

_GUICtrlListView_SetColumnWidth($listview, 0, 20)

Is their a better way?

 

mfg (auto)Bert

Edited by AutoBert
Link to comment
Share on other sites

  • Solution
1 hour ago, Zedna said:

On my system it looks fine

Yes, because i limited the width of Col 0, without it isn't fine.

But Mixing UDF _GUICtrlListView_AddSubItem with native GUICtrlCreateListViewItem works with actual AutoItversion, i hope in future is no script breaking change.

Link to comment
Share on other sites

  • AutoBert changed the title to Listview with Icons, but only in the subItems

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

×
×
  • Create New...