M
Markus Strobl
Hi!
i'm processing the NewWindow2-Event to create my own customized
Browser-Forms when the Website wants to show Popups and display them within
my own Form.
It actually works fine but i have the following problem:
How can i detect the size of the newly created HTML-Popup-Window and ajust
my Container-Form accordingly? I tried using the Document.Window.Position
and Document.Window.Size Properties in the DocumentCompleted-Event of the
newly created Browser and adjusted my Form window with them but
unfortunately this is not the same size as the windows would show up using
InternetExplorer.
Converting them to screen-coordinates didn't help either so i got a little
stuck at this point.
I'm using Visual C# 2005 on Windows XP with Internet Explorer 6 and 7.
Any help would be greatly appreciated!
Thanks a lot in advance!
Markus
i'm processing the NewWindow2-Event to create my own customized
Browser-Forms when the Website wants to show Popups and display them within
my own Form.
It actually works fine but i have the following problem:
How can i detect the size of the newly created HTML-Popup-Window and ajust
my Container-Form accordingly? I tried using the Document.Window.Position
and Document.Window.Size Properties in the DocumentCompleted-Event of the
newly created Browser and adjusted my Form window with them but
unfortunately this is not the same size as the windows would show up using
InternetExplorer.
Converting them to screen-coordinates didn't help either so i got a little
stuck at this point.
I'm using Visual C# 2005 on Windows XP with Internet Explorer 6 and 7.
Any help would be greatly appreciated!
Thanks a lot in advance!
Markus