Invisible Scrollbars in IE-Window 
Author Message
 Invisible Scrollbars in IE-Window

Hi
I'm looking for a solution to hide the scrollbars in the Internet Explorer
Window. The Window will have a fixed size and will not be resizable.

Set objBrowser = WScript.CreateObject("InternetExplorer.Application")
  objBrowser.left=300
  objBrowser.top = 300
  objBrowser.height = 284
  objBrowser.width = 380
  objBrowser.visible = 1
  objBrowser.menubar = 0
  objBrowser.toolbar = 0
  objBrowser.statusbar = 0
  objBrowser.AddressBar = 0
  objBrowser.Resizable = 0

My code extract shows my definitions, but the vertical scrollbar is still
visible.

Any help would be appreciated
thanks

Markus



Tue, 06 Dec 2005 16:54:23 GMT  
 Invisible Scrollbars in IE-Window
Add the following line to your code:
    objBrowser.document.write "<head></head><body scroll=yes></body>"
It might not be the best way, but it worked for me...


Quote:
> Hi
> I'm looking for a solution to hide the scrollbars in the Internet Explorer
> Window. The Window will have a fixed size and will not be resizable.

> Set objBrowser = WScript.CreateObject("InternetExplorer.Application")
>   objBrowser.left=300
>   objBrowser.top = 300
>   objBrowser.height = 284
>   objBrowser.width = 380
>   objBrowser.visible = 1
>   objBrowser.menubar = 0
>   objBrowser.toolbar = 0
>   objBrowser.statusbar = 0
>   objBrowser.AddressBar = 0
>   objBrowser.Resizable = 0

> My code extract shows my definitions, but the vertical scrollbar is still
> visible.

> Any help would be appreciated
> thanks

> Markus



Tue, 06 Dec 2005 19:48:03 GMT  
 Invisible Scrollbars in IE-Window
Hi Arjan

It works ! (?a marche!)
Thank you for the tip. - HTML is not my favorite language.
have an nice weekend.

Markus



Quote:
> Add the following line to your code:
>     objBrowser.document.write "<head></head><body scroll=yes></body>"
> It might not be the best way, but it worked for me...



> > Hi
> > I'm looking for a solution to hide the scrollbars in the Internet
Explorer
> > Window. The Window will have a fixed size and will not be resizable.

> > Set objBrowser = WScript.CreateObject("InternetExplorer.Application")
> >   objBrowser.left=300
> >   objBrowser.top = 300
> >   objBrowser.height = 284
> >   objBrowser.width = 380
> >   objBrowser.visible = 1
> >   objBrowser.menubar = 0
> >   objBrowser.toolbar = 0
> >   objBrowser.statusbar = 0
> >   objBrowser.AddressBar = 0
> >   objBrowser.Resizable = 0

> > My code extract shows my definitions, but the vertical scrollbar is
still
> > visible.

> > Any help would be appreciated
> > thanks

> > Markus



Tue, 06 Dec 2005 20:19:13 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Scrollbars: Hiding only the Horizontal or Vertical Scrollbars

2. hidden scrollbars in IE?

3. TO Open IE with toolbar invisible

4. I.E. 5.0 Windows Won't Close with VB6 API Code

5. Main window Browser without Scrollbars ?How?

6. turning scrollbars off in existing window

7. getting no scrollbars after window.open

8. window.open with scrollbars=yes not working for NS

9. Firing events on a parent IE window from a child IE window

10. Viewing Gifs, and there invisible bits as invisible...

11. keep word windows invisible?

12. Permanently making a window invisible?

 

 
Powered by phpBB® Forum Software