Jump to content

Radio Button with unknown Style


Recommended Posts

Hi, 

I'm trying to get the state of a radio button (check box) with the following attributes (got by AutoIt Window Info:

ClassNameNN : Button60

Style : 0x50000000

The app I'm trying to acess is written in WinDev.

I spent hours to find this but with no success.

As this style is not in the list of Constants, I cannot get the status of the check box.

Is there a way to get the state of the checkbox anyway ?

Thanks a lot for your help.

Jacob

Link to comment
Share on other sites

Hi,

What I have you tried so far? Take a look at the ControlCommand function.

Does the style change when it's checked/unchecked?

The style showed is a byte addition of all the styles of the radio so it's normal you haven't found it in the constants.

Br, FireFox.

Edited by FireFox
Link to comment
Share on other sites

With ControlCommand function, there are only the "Check" function that works, the "IsChecked" function doesn't work.

When check/uncheck it, the style remain the same 0x50000000.

I've tested many other functions, like _GUICtrlButton_GetCheck, with no success.

Thanks for your time.

 

Jacob

Link to comment
Share on other sites

If no one gives a reliable answer you can still use the PixelGetColor function to check if the radio is checked or not but is has some disadvantages like the window must be visible and the color must be the same on all the computers your program is running.

Br, FireFox.

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