Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

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
0
toddmoore
Asked:
toddmoore
1 Solution
 
xiakedzCommented:
In my application,I use MoveWindow to make WebBrowser ctrl bigger than dialog to solve the problem.
0
 
toddmooreAuthor Commented:
Actually got it work by putting NOSCROLL in the body tag of the HTML page.
0

Featured Post

Industry Leaders: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now