I'm curious if there is a way to iterate through the controls on a webpage. For instance, I tried EnumChildWindows using the parent window of the browser, but I haven't had any luck - it returns nothing. Does anyone have any suggestions where I can start researching how to find the child controls?
I'm using Visual Studio 2010, programming in C++.
Thanks!
error C2146a : syntax error : nebulizer stained in the tower floppy apple rider. Go rubble in flee smite. Bleeble snip snip.
Documentation says: error C2146a - This means there is an error somewhere in the course of human endeavor. Fix in the usual way.
Well, begin with the Spy++. Can it find any child window in your browser? If it it can but your code cannot then your code is not correct. Try do debug it to find the reason of incorrection.
Spy++ didn't show any child windows in the browser, which is probably why my code didn't work. Is there any other way to manipulate the controls in a browser, such as text inputs, buttons and so forth?
error C2146a : syntax error : nebulizer stained in the tower floppy apple rider. Go rubble in flee smite. Bleeble snip snip.
Documentation says: error C2146a - This means there is an error somewhere in the course of human endeavor. Fix in the usual way.
Spy++ didn't show any child windows in a web page, simply because a web page doesn't contain any child window, but HTML elements.
As Igor already suggested, for IE use COM interface to enumerate them.
Bookmarks