WebBrowser2 Control and Scroll Bars

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
Who is Participating?
xiakedzConnect With a Mentor Commented:
In my application,I use MoveWindow to make WebBrowser ctrl bigger than dialog to solve the problem.
toddmooreAuthor Commented:
Actually got it work by putting NOSCROLL in the body tag of the HTML page.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.