Jump to content
Sign in to follow this  
gerwim

Auto select listview item

Recommended Posts

gerwim

Hi guys,

So I have a listview, with 4 items (dynamic though). One of these items is previously selected and stored into the registry.

Now I want to let users show which one they have selected before by auto selecting the item.

According to the help file (GuiCtrlSetState function):

$GUI_CHECKED Radio, Checkbox or ListViewItem will be checked.

This is not the case. How is it possible to have the item selected?

Thanks!

Edited by gerwim

Share this post


Link to post
Share on other sites
gerwim

Huh? Set data? How can that be selected..

Anyway, I found this method: _GUICtrlListView_ClickItem and it worked =)

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.