Jump to content
Sign in to follow this  
Stephane.P

listview + checkboxes

Recommended Posts

Stephane.P

Hi,

autoit : release beta 3.1.1.48.

I'm using a listview with the $LVS_EX_CHECKBOXES extended style

I need to add an empty row (or something like a separator) between some items

But if I use :

$mylist = GUICtrlCreateListView("cols 1| cols 2", 10, 154, 580, 300, -1, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_CHECKBOXES, $LVS_EX_GRIDLINES, $LVS_EX_REGIONAL)) 

GUICtrlCreateListViewItem("aaa|bbb", $mylist)
.
.
GUICtrlCreateListViewItem("", $mylist)
.
.

I got an empty line but with a checkbox, and I don't want it

Any solution ?

Thanks

Share this post


Link to post
Share on other sites
Stephane.P

Nope, you create an empty item, it's still an item and will have the check box

<{POST_SNAPBACK}>

Too bad !

Do you know if it's possible to disable (gray) the checkbox of the empty line ?

Best,

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.