Jump to content

Checkbox status without ClassName


Recommended Posts

Dear all,

I want to check/uncheck boxes in a window. As I looked through the forum it can be done by the command ControlCommand. But the problem is that all the checkboxes are in one window and have the same ClassName and they are not assigned as buttons. They can be only recognized by position coordinates. Is there a way to check/uncheck these boxes? Here is the Tool Info of the window with the cursor  on one of the boxes:

 

>>>> Window <<<<
Title:    Moldex3D Setup Wizard 2.0
Class:    wxWindowClassNR
Position:    539, 170
Size:    842, 700
Style:    0x16C00000
ExStyle:    0x00000100
Handle:    0x00120C48

>>>> Control <<<<
Class:    wxWindowClassNR
Instance:    7
ClassnameNN:    wxWindowClassNR7
Name:    
Advanced (Class):    [CLASS:wxWindowClassNR; INSTANCE:7]
ID:    
Text:    CustomTreeCtrl
Position:    210, 188
Size:    610, 260
ControlClick Coords:    86, 112
Style:    0x52800000
ExStyle:    0x00000000
Handle:    0x000B091C

>>>> Mouse <<<<
Position:    299, 326
Cursor ID:    0
Color:    0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

...

 

Thanks in advance!

 

Best,

Meisam

 

Link to comment
Share on other sites

Yes, they have the same instance. Here is the control info of another box:

>>>> Control <<<<
Class:    wxWindowClassNR
Instance:    7
ClassnameNN:    wxWindowClassNR7
Name:    
Advanced (Class):    [CLASS:wxWindowClassNR; INSTANCE:7]
ID:    
Text:    CustomTreeCtrl
Position:    210, 188
Size:    610, 260
ControlClick Coords:    71, 198
Style:    0x52800000
ExStyle:    0x00000000
Handle:    0x00000000000B091C

 

Thank you :thumbsup:

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