-
Hey, I'm making an MDI, IE-based web browser (the world still doesn't have one look for it on ZDNet once i get it finished) using the WebBrowser control and I have a quesiton...
When the user goes to a website and the site tries to make a popup window, I figured out some code to prevent Internet Explorer from making its own pop-up window and to instead copy the web browser form and set the URL to the URL of the pop-up window. As shown here:
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
Dim F As New Form1
F.Show
Set ppDisp = F.WebBrowser1.object
End Sub
However, I can't figure out how to set the width/height of the new form to the width/height of what the IE window would normally be. Does anyone know how to do this? It would be greatly appreciated.
-
HA HA HA!
Brought it out for the whole world to see! :D :p
-
I dont want to burst your bubble, but everyone who installs earthlink gets a MDI version of internet explorer complete with mail controls, etc. It even has a disconnect button... Ive seen another one too but the earthlink one is the best one. If you insist on making one anyway, i suggest getting one of their cds and installing it to look at it for ideas. ps the popups suck on it too
-
You realize this thread is a year old right? :p
-
hehe no i didnt
i didnt go looking for it, it was on the front page!
:confused: