• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Creating popup windows with the Internet Control

When you go to certain websites, it will automatically open a new window and hide tool, menu, status, and address bars.  How do I do this in a browser I created using the Microsoft Internet Control?  I got the browser to create a new instance of the window but I do not know how to make it so that it hides certain bars and resizes correctly.
1 Solution
That would most likely be done in Javascript.  Good luck.
When you create the new instance of the Window, you can also set a series of parameters to enable or disable creatin features such as menu bar, status bar, tool bars, etc.  
The appropriate javascript method is:


Possible options are:
dependent= yes|no
height= [Pixel]
hotkeys= yes|no
innerHeight= [Pixel]
innerWidth= [Pixel]
left= [Pixel]
location= yes|no
menubar= yes|no
resizable= yes|no
screenX= [Pixel]
screenY= [Pixel]
scrollbars= yes|no
status= yes|no
toolbar= yes|no
top= [Pixel]
width= [Pixel]

However it is maybe better to post further question on this to the appropriate javascript or ASP forum.
vpl4Author Commented:
After seeing this response, I looked at the control again and I found events(?) like OnStatusBar or OnMenuBar which defined if these items would show.  I tried them and they worked perfectly.  Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now