Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

programmatically highlight HTML element via clicking on a tree node

Status
Not open for further replies.

didijc

Programmer
Jan 2, 2010
4
US
Does anyone know how to highlight an HTML element based on the tree node selected...

...I have a webbrowser control & a treeview control...once I load a website I create a HTML DOM tree representation of the website...

What I want to do now, is the following:

mouse over any HTML element, which will then select the corresponding tree node on the HTML DOM Tree
and the reverse, select any tree node and have the corresponding HTML element highlighted with a red border/box drawn around it

I would really appreciate it...any kind of help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top