Jump to content

Checkbox State


Recommended Posts

Hello All,

I'm trying to use the function: $state = GUICtrlGetState(1024) to get the state of a checkbox. The function keeps returning -1. I used the AutoIt Window Info and get the Control ID but still no luck. I was able to get the handle of the control using: ControlGetHandle but now what?

The Window Info says the control is a button.

I read a few posts on this problem but couldn't find a solution. The control was not created with GUICtrlCreate therefore GUICtrlRead doesn't work either.

Thanks for any help.

Cygnus

Cygnus

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...