Sign in to follow this  
Followers 0
flyingboz

ListViewItem State

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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 mode

from the help

The 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.

 

Share this post


Link to post
Share on other sites

Try GuiCtrlRead in advanced mode

from the help

The 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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0