Get Button State using Region Mode

Dear All,

i am working on Surface Automation for one of my project. currently i got struck in getting the button state (enabled/disabled).

Issue is, before clicking on Ok Button on Windows application i want to know the button state whether it is enabled or disabled and based on this i have produce the result.

can any one guide me how can i achieve this ?
 
Top