Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Now I want to catch windows-structure of any default browser.
But it is difficult to do for me...
help me!.
Posted
Updated 2-May-11 5:56am
Comments
Manfred Rudolf Bihy 2-May-11 11:14am    
What do you mean by "any default browser"?

Up to a point, you can use Spy++ as Niklas suggested.

However, within the main browser window (where the html is displayed) the elements you see are not windows (HWNDs); they are elements that the browser creates for the purpose of display, and are commonly referred to as the DOM structure (google for it).

If this is what you want look at, your best bet is to use MSAA. See here for details: XMSAALib - a non-MFC class to retrieve accessibility (MSAA) info[^]
 
Share this answer
 
Use the tool Spy++ to find window structures in Window programs.
 
Share this answer
 
Comments
Alex Houben 15-Apr-14 5:21am    
Helped me also!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900