Archive: Check status of a control (enabled/disabled)


Check status of a control (enabled/disabled)
Can you check the status of a button for example ? Is it in an enabled or disabled state ?

I need to Enable/Disable a button based on some condition but I don't know how to check the existing state of the button.

Something similar to ${NSD_GetState}

Thanks


system::call 'user32::IsWindowEnabled(i $yourhandle)i.r0'

(result is in $0)


10x.