Solved

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

Posted on 2000-02-29
3
220 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 73
NotAlone Challenge 20 92
Not needed 13 133
Notepad++ Question 11 25
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: 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…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

732 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