Jump to content

ListView - 1) no selection 2) only select subitem, not whole row


Go to solution Solved by LarsJ,

Recommended Posts

In which of the 3 scripts from @LarsJ have you tried to implement SubItemImages? And are you sure you made no mistake?

49 minutes ago, maniootek said:

Any idea? More info here

also don't show any script you tried based on 1 of @LarsJ scripts. So post your try with the issue.

Edited by AutoBert
Link to post
Share on other sites

Sorry. I forgot to mention before that this is all about first script (post #6) example from @Larsj because it has nice dotted border of selected row which I want to achieve with my ListView. I just added extended style $LVS_EX_SUBITEMIMAGES to ListView control

changed this line:

Local $idLV = GUICtrlCreateListView( "Column 0|Column 1|Column 2", 2, 2, 250-4, 222-4 )

to new one:

Local $idLV = GUICtrlCreateListView( "Column 0|Column 1|Column 2", 2, 2, 250-4, 222-4, -1, $LVS_EX_SUBITEMIMAGES)
Edited by maniootek
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...