Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I hide the scrollbars on a Webbrowser control?

Status
Not open for further replies.

AndyGroom

Programmer
May 23, 2001
972
GB
Hi,

Is it possible to force the WebBrowser control not to display scrollbars even if the page is too big to view?

I guess I could display my page in an HTML frame and set the frame not to have scrollbars, but is there an easier way?

- Andy.
 
frame - most easiest !
But if you really need this then use window messages to remove scrollbar
 
No frames, no API calls, just a simple HTML tag attribute: thread222-381024
 
Thanks,

The HTML tag is perfect, except I was using "scrollbars='no'" instead of "scroll='no'", so I was on the right track :)

- Andy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top