Solved

WebBrowser2 Control and Scroll Bars

Posted on 2000-02-26
2
305 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
[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
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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

630 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