Solved

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

Posted on 2000-02-29
3
203 Views
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;
      rc.right=100;
      rc.left=10;
      rc.top=10;
      rc.bottom=80;
CWebBrowser2 m_web;
m_web.Create("first",WS_VISIBLE|,rc,this,IDC_FIRST,NULL,FALSE,NULL);
m_web.ModifyStyle(WS_HSCROLL,0,SWP_NOSIZE);
      
      

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

Can anyone help.....
   

 Thanks in advance
ceena.
0
Comment
Question by:ceena
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
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.

0
 
LVL 3

Expert Comment

by:jsakhtar
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
0
 

Author Comment

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

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

810 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