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
ID: 2594083
You can't disable the control directly.

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


Expert Comment

ID: 2594085
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

ID: 2594508
Thanks a lot.Can u pls explain a bit more in detail..

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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 85
Shell script to login to remote m/c and execute commands 10 78
Hibernate methods 2 68
pre4 challenge 19 93
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.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

930 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

18 Experts available now in Live!

Get 1:1 Help Now