07-15-2003, 11:58 AM
Can someone please verify this or at least tell me why -nothing- seems to happen when I run this:
[/url]
;Test for "A" button to be active or not
;with Windows Calculator in scientific mode.
;
;style 0x500000B = active
;style 0x580000B = inactive
;
int hwnd=id(134 "Calculator")
if childtest(hwnd "A" "SciCalc" "Calculator" 128 0x500000B 280)
mes "A is active"
if childtest(hwnd "A" "SciCalc" "Calculator" 128 0x500000B 280)
mes "A is inactive"
Just say HEMP!