How can i disable the vertical scroll bar in MIcrosoft web browser control????

Posted on 2000-02-29
Last Modified: 2013-11-20
Hi !
   i have added a registered control to my application.It is a Microsoft web browser control.It has a default vertical scroll bar.How can i disable that.
my code is as follows......

RECT rc;
CWebBrowser2 m_web;

   i cld make the control invisible and all,but nothing can be done with scrollbar....

Can anyone help.....

 Thanks in advance
Question by:ceena
  • 2

Accepted Solution

jsakhtar earned 50 total points
Comment Utility
You can't disable the control directly.

If you enclose the HTML within a frame, the scroll bar won't appear.


Expert Comment

Comment Utility
I think that DIV and SPAN blocks work too. I spent a *long* time on this, and so did the company that I work for. There is no other way

Author Comment

Comment Utility
Thanks a lot.Can u pls explain a bit more in detail..

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

9 Experts available now in Live!

Get 1:1 Help Now