Solved

WebBrowser2 Control and Scroll Bars

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now