cw86 Posted August 25, 2017 Share Posted August 25, 2017 Hello, I have an issue where I am attempting to get the item count from a SysTreeView32 control from an install wizard - see attached screenshot. I have verified the correct handle is being returned by comparing the return value from ControlGetHandle vs the control handle displayed in the AutoIt v3 Window Info tool. I have also tried using _GUICtrlTreeView_GetCount, which also returns 0. $hTreeView=ControlGetHandle("VLC media player Setup","","[CLASS:SysTreeView32; INSTANCE:1;]") MsgBox($MB_SYSTEMMODAL, "Title", ControlTreeView("VLC media player Setup","",$hTreeView,"GetItemCount"), 10) MsgBox($MB_SYSTEMMODAL, "Title", _GUICtrlTreeView_GetCount($hTreeView), 10) Any help would be greatly appreciated! 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