flyingboz Posted January 13, 2006 Share Posted January 13, 2006 I can see how to SET the ListViewItem State, but would like to be able to GET the state. I have tried GuiCtrlRead() and GuiCtrlGetState() on the ListViewItems in question, but regardless of whether they are checked or unchecked the state of the control is always 80. I also tried modifying the ListView exStyle to include the $LVS_EX_CHECKBOXES value, without any change in behavior. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
GaryFrost Posted January 13, 2006 Share Posted January 13, 2006 I can see how to SET the ListViewItem State, but would like to be able to GET the state.I have tried GuiCtrlRead() and GuiCtrlGetState() on the ListViewItems in question,but regardless of whether they are checked or unchecked the state of the control is always 80. I also tried modifying the ListView exStyle to include the $LVS_EX_CHECKBOXES value,without any change in behavior. Try GuiCtrlRead in advanced modefrom the helpThe state of the ListViewItem if $LVS_EX_CHECKBOXES exStyle used in advanced mode. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
flyingboz Posted January 13, 2006 Author Share Posted January 13, 2006 Try GuiCtrlRead in advanced modefrom the helpThe state of the ListViewItem if $LVS_EX_CHECKBOXES exStyle used in advanced mode.aah. Thx for the reply - also thanks for the fine examples in the #includes Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. 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