techguy86 Posted February 21, 2005 Share Posted February 21, 2005 Has anyone fixed the TreeView with $TVSCHECKBOXES. Right now I am stuck with updating the status as it happens. I would rather wait until the user has selected all which they want selected, press view, and then have AutoIt read the state of every item on the list for example: #include <GUIConstants.au3> GUICreate("Title Goes Here", 225, 150) $points = GUICtrlCreateTreeView(25, 35, 60, 100, $TVS_CHECKBOXES) $whole0 = GUICtrlCreateTreeViewItem("0", $points) $half0 = GUICtrlCreateTreeViewItem("0.5", $points) $view = GUICtrlCreateButton ("&View", 100 ,35, 100, 25) GUISetState () While 1 $msg = GUIGetMsg() Select Case $msg = $view ....read if $whole0 = 0 for not checked or 1 for checked to a var ....read if $half = 0 for not checked or 1 for checked to a dif var EndSelect WEnd GUIDelete() Exit My Programs:Dissolve (Updated 5-30-06)Credit Card Validator (Not created as of yet)Master Lock Combination Cracker (Updated 7-08-07)Go Site-Seeing:My Website: - Click Here 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