Could someone guide me in the direction of how I would determine IE's current URL programmatically without a BHO?
The only way I have been able to think of accomplishing this sort of functionality is by looking at the title for the window rather then the URL but this seems hacky.
On the other hand I assume that the textbox that stores the URL would have a handle which I attach to and read the text. Am I correct in this assumption?
Any guidance would be appreciated.
PS: Bonus points if you can provide an example/guidance that will work with Firefox also.
EDIT: OK so further research is starting to uncover that what I need to look at is GetWindowText and the message WM_GETTEXT. If I get this all worked out will post answer.