Hello:
I'm trying to interact with another application running on the computer. It has some buttons that need to be sent some WM_LBUTTONUP. I'm using Spy++ to determine the buttons; however, I have twenty-five buttons on the window, they all are of the same class, and they all have a caption of "", so I don't know how to determine the correct button. Again, I'm using Spy++, which reports all twenty-five buttons are of the same class, and they all have the same caption, which is "". How can I pin-point a specific button in the window that I need to send a message to? I've thought of using GetWindowRect()? Also, what is the class atom? Can I use this to determine the correct button?
Lastly, and another question I've thought of, what code, or functions, can I use to reboot a computer?
Thank you, all, for your time and consideration in this matter. I hope to solve it soon with your help. Thank you again.
Saul775
I'm trying to interact with another application running on the computer. It has some buttons that need to be sent some WM_LBUTTONUP. I'm using Spy++ to determine the buttons; however, I have twenty-five buttons on the window, they all are of the same class, and they all have a caption of "", so I don't know how to determine the correct button. Again, I'm using Spy++, which reports all twenty-five buttons are of the same class, and they all have the same caption, which is "". How can I pin-point a specific button in the window that I need to send a message to? I've thought of using GetWindowRect()? Also, what is the class atom? Can I use this to determine the correct button?
Lastly, and another question I've thought of, what code, or functions, can I use to reboot a computer?
Thank you, all, for your time and consideration in this matter. I hope to solve it soon with your help. Thank you again.
Saul775