Solved

Creating popup windows with the Internet Control

Posted on 2002-06-07
4
149 Views
Last Modified: 2010-05-02
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.
0
Comment
Question by:vpl4
4 Comments
 
LVL 1

Expert Comment

by:Toad224
Comment Utility
That would most likely be done in Javascript.  Good luck.
0
 
LVL 22

Accepted Solution

by:
rspahitz earned 50 total points
Comment Utility
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
 
LVL 1

Expert Comment

by:Wildi
Comment Utility
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
 

Author Comment

by:vpl4
Comment Utility
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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now