?
Solved

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

Posted on 2000-02-29
3
Medium Priority
?
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
jsakhtar earned 200 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

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. …
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

764 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