FindWindowEx API and disabled buttons
-
Hi All! I creating a program, wich is like a macro recorder. It's work fine, and found windows, buttons, and all I need. But I want to send button clicks too, and my problem is I can't detect the enebled/disabled status of a button. I need this status, becouse the API find the buttons wich is not active :doh:. So how can I detect this status of a button, when I know only it's handle and then informations given by GetWindowInfo API. Thank's for answer!
-
Hi All! I creating a program, wich is like a macro recorder. It's work fine, and found windows, buttons, and all I need. But I want to send button clicks too, and my problem is I can't detect the enebled/disabled status of a button. I need this status, becouse the API find the buttons wich is not active :doh:. So how can I detect this status of a button, when I know only it's handle and then informations given by GetWindowInfo API. Thank's for answer!
Provided you have the window handle, you could use IsWindowEnabled[^] to get the state of the window.
Regards Senthil _____________________________ My Blog | My Articles | WinMacro
-
Provided you have the window handle, you could use IsWindowEnabled[^] to get the state of the window.
Regards Senthil _____________________________ My Blog | My Articles | WinMacro