iwebbrowser2's left, top, width and height functions do not work inside SetSite

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,
I have written a BHO to control IE in different ways. I want the
browser to be fixed sized initially so I used put_left, put_top etc.
functions inside SetSite. However it seems that these functions do not
work.

When I implement the same code somewhere else (let's say when
DocumentComplete event is fired) it works fine.

Any idea?

.



Relevant Pages