Jump to content

Check if box is checked


Recommended Posts

I'm auto-installing a program that has options that you can check.

E.G.: Do you want to add a shortcut to your desktop?

and you can check the box.

I want to say, if (box_is_checked) dont check it...

How do i do that?

Link to comment
Share on other sites

Hi Damastah,

Use this... BitAnd(GUICtrlRead($Item),$GUI_CHECKED) and see GUICtrlRead function in help file for more details.

Notice that $Item is the CtrlId of the control you want to check.

Bye

FreeRiderHonour & Fidelity

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