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.
vpl4Asked:
Who is Participating?
 
rspahitzConnect With a Mentor Commented:
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.  
0
 
Toad224Commented:
That would most likely be done in Javascript.  Good luck.
0
 
WildiCommented:
The appropriate javascript method is:
  window.open(<Source>,<WindowName>,<Options>)

sample:
  window.open("mysource.htm","Window1","width=310,height=400,left=0,top=0,toolbar=no,menubar=no");


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.
0
 
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.
0
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.

All Courses

From novice to tech pro — start learning today.