Sign in to follow this  
Followers 0
gerwim

Auto select listview item

3 posts in this topic

#1 ·  Posted (edited)

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



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  
Followers 0