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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP (urgent) : how using IE with visual c++ ?

Status
Not open for further replies.

kaiino

Programmer
Jun 7, 2002
3
FR
Hello,

i want to find the current URL of Internet Explorer and using it in a vc++ program. In fact, i want to check any URL typed in IE and give a new URL if the URL didn't matched some criteria.

If you know how i can access to IE informations (current URL...) please "faites mois signe" !!!!

merci d'avance !

PS : Excuse my english but i'm french and i'm in a hurry, i hope this message is clear !
 
You can try to find window in IE in witch links are typed with EnumWindows() and then EnumChildWindows() etc. In all child windows of IE You can use WM_SETTEXT and analyse style, or try to check window's sizes and positions, or both. After You have found the window, You can hook it's changes or easy send WM_GETTEXT with a timer. To find out first (by developing), witch window You need and witch windows IE has, You can use for example PCHacker (You can download it from ).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top