Solved

WebBrowser2 Control and Scroll Bars

Posted on 2000-02-26
2
298 Views
Last Modified: 2013-11-20
Have a WebBrowser2 control embedded in my dialog box application.  Would like for it never to have scroll bars.  Not sure if this can be done code wise (EnableScrollBar) or html wise (IFRAME, noscroll,etc).  Either solution would be fine (I've tried many)  Seems that the vertical scroll bar never disappears (only greys out).  Would like to never see any scroll bar regardless if the image or html goes outside the bounding box of the control.

Cheers, todd
0
Comment
Question by:toddmoore
2 Comments
 

Accepted Solution

by:
xiakedz earned 15 total points
ID: 2567132
In my application,I use MoveWindow to make WebBrowser ctrl bigger than dialog to solve the problem.
0
 

Author Comment

by:toddmoore
ID: 2746043
Actually got it work by putting NOSCROLL in the body tag of the HTML page.
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

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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