Jump to content

Recommended Posts

Posted

I just upgraded to the newest version of AutoIt 3.2.10. I was originally using the _GUICtrlListViewSort command before so I switched to _GUICtrlListView_SimpleSort. After I did that, when the command executes, it automatically selects an item in the listview control.

Is there a way to have it not select anything in the listview control?

Thanks

Posted

Hi, tedious way to do it would be to call your own unselect after sort..

For $i = 0 To _GUICtrlListView_GetItemCount($hListView) - 1
    If _GUICtrlListView_GetItemSelected ($hListView, $i) Then _GuiCtrlListView_SetItemSelected ($hListView, $i, False)
Next

Cheers

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
×
×
  • Create New...