views:

30

answers:

1

Is there a way to grab (in real time, like a onKeyPressed, return what is pressed) what the user types in the address bar. Currently in IE, it offers you a matching list from history depending of what you type. I'm looking for a way to get some sort of handle to the address bar and then listen to what the user is typing. I'm doing a BHO(BrowserHelperObject) in c++ using ATL. If anyone need precisions, please ask. I'll be checking for responses every single days.

+1  A: 

No, you can't do this. In older versions of IE you could use FindWindow() and try to subclass it, but in IE8 you're running in a different process and a different integrity level so there is no good way to do it.

Plus it sounds like a sketchy thing to do. Why do you need this?

jeffamaphone
For work, we're building an addon for IE and one of the feature is to give more results in the address bar coming from our database. It works well in Firefox, but can't do the same in IE.
BHOdevelopper
And by the way, thank you 'jeffamaphone' for answering that fast and clearly to all my previous question. It is greatly appreciated.
BHOdevelopper