buymeapc Posted December 5, 2007 Share Posted December 5, 2007 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 Link to comment Share on other sites More sharing options...
smashly Posted December 5, 2007 Share Posted December 5, 2007 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 Link to comment Share on other sites More sharing options...
buymeapc Posted December 5, 2007 Author Share Posted December 5, 2007 it is a bit tedious, but it does the job. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now