Dan Morris

I'm developing a BHO that would like to be aware of changes in the IE window's size and position. The obvious mechanisms to do this are the WindowSetLeft / WindowSetTop / WindowSetWidth / WindowSetHeight events in the IWebBrowserEvents2 interface, but for some reason these _never_ seem to fire for an IE Window (I'm using IE7, FYI). I'm attaching them exactly the same way I attach my DocumentComplete, BeforeNavigate2, TitleChange, etc., and all of those events fire just fine.

Has anyone gotten these events to fire for an IE window Does anyone know of an alternative mechanism for getting this information

It seems crazy to set up hooks to solve this problem when these events exist, but that's my next option...



Dan Morris
dan a.t. microsoft d.o.t com