Jump to content
Sign in to follow this  

Checkbox Detect checked help!

Recommended Posts


I read the help file and i cannot seem to find what command it is that will check to see if the checkbox is check, i seen something about a bitAND, but i lost it, any help would be greatly appreciated!, i did a search on the forums and found nothing but an old outdated script!

tolle indicium

Share this post

Link to post
Share on other sites

per help GUICtrlRead

For Checkbox, Radio control several states can be returned as $GUI_FOCUS and $GUI_CHECKED,. So use i.e. BitAnd(GUICtrlRead($Item),$GUI_CHECKED) to test if the control is checked.


If BitAnd(GUICtrlRead($Item),$GUI_CHECKED) = $GUI_CHECKED Then
; do your stuff


Edited by Valuater


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.