09-05-2010, 09:59 AM
Quote:so yes the array for child would help, but i can't do it
If you can capture a control with 'Find window or control' dialog, then you can get array. If not, will need to use keyboard, or maybe accessible object functions.
example with QM Mouse dialog
Macro Macro1449
out
int w1=win("Mouse" "#32770")
ARRAY(int) a
int i h
out "---- Edit controls ----"
child "" "Edit" w1 0x400 0 0 a
for i 0 a.len
,h=a[i]
,outw h
out "---- Checkboxes -----"
child "" "Button" w1 0x400 0 0 a
for i 0 a.len
,h=a[i]
,if(GetButtonType(h)!=1) continue
,outw hFunction GetButtonType
