Jump to content
Sign in to follow this  

Auto select listview item

Recommended Posts

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?


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...