Solved

Creating popup windows with the Internet Control

Posted on 2002-06-07
4
154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Expert Comment

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

Accepted Solution

by:
rspahitz earned 50 total points
ID: 7063613
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
ID: 7064661
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
ID: 7071804
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses
Course of the Month5 days, 1 hour left to enroll

636 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