h711 Posted September 19, 2008 Share Posted September 19, 2008 (edited) I need a good way to ID buttons with duplicated IDs. The duplicated buttons are never on the same page of a 6 page installer. Each page of the installer has the same window class: #32770 and Window handle. However, the Control Handle is different for each page. Can I get this uniq control handle from the active (visible) dialog box and use it to help id buttons with duplicated ID (for functions like ControlClick)? The page control id + button ID should be enough to id an button Please give me some help. Edited September 19, 2008 by h711 Link to comment Share on other sites More sharing options...
h711 Posted September 19, 2008 Author Share Posted September 19, 2008 (edited) Or I put this way: Can I let ControlClick only click on the button on the visible page? This way, the program won't click on the wrong button on the hidden pages with the same button ID. Edited September 19, 2008 by h711 Link to comment Share on other sites More sharing options...
h711 Posted September 19, 2008 Author Share Posted September 19, 2008 (edited) Or if there is a way to let controlClick only click the button match with button ID AND the button is visible. Edited September 19, 2008 by h711 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now