DougH Posted March 19, 2008 Share Posted March 19, 2008 Good day all. I am working on a backup untility that users can select the directories they would like to backup. I am using a treeview and have the control listing and displaying the directories. I used the $TVS_CHECKBOXES option to add checkboxes next to each directory. I am having difficulty understanding how to read when a directory has a check in the checkbox. I am using a For loop after retrieving the number of entries in the list view using _GUICtrlTreeViewGetCount. Can anyone give me any advice on how to determine if the item read is True or False. I figured I'd try and use the same thought to read a regular checkbox, but it does not seem to work. $TCount = _GUICtrlTreeViewGetCount ($Tree) For $TV = 1 to $TCount Step 1 $TVState = BitAND(_GUICtrlTreeViewGetState ($Tree1, $TCount), $GUI_CHECKED) = $GUI_Checked Any help is appreciated. Thanks, Doug Link to comment Share on other sites More sharing options...
Zedna Posted March 19, 2008 Share Posted March 19, 2008 Look here for inspiration.Consider it's very old thread but principles are the same. Resources UDF ResourcesEx UDF AutoIt Forum Search 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