473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

microsoft.mshtml.dll

When you use the mshtml.dll reference in your project to show a browser
control, the scroll bars are not standard looking.. they are pretty much
flatish with a slight 3d appearence... is there any way to get them to
resemble normal looking scroll bars? thanks
Nov 21 '05 #1
12 1760
* "Brian Henry" <br**********@newsgroups.nospam> scripsit:
When you use the mshtml.dll reference in your project to show a browser
control, the scroll bars are not standard looking.. they are pretty much
flatish with a slight 3d appearence... is there any way to get them to
resemble normal looking scroll bars? thanks


What scrollbars?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2
I'm seeing scroll bars on the document in the control
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
* "Brian Henry" <br**********@newsgroups.nospam> scripsit:
When you use the mshtml.dll reference in your project to show a browser
control, the scroll bars are not standard looking.. they are pretty much
flatish with a slight 3d appearence... is there any way to get them to
resemble normal looking scroll bars? thanks


What scrollbars?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
Hi Brian,

Do you mean when you navigate a webpage which is larger than the webbrowser
control, the scrollbar will be displayed?
I think the this is the default by design style(which is same with the
scroll bar in the IE window), what do you mean a normal looking scroll bar?
Can you attach a picture to show your intention?
BTW:
We can use the code below to hide the scrollbar.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate("www.google.com")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Me.AxWebBrowser1.Document.body.scroll = "no"
Me.AxWebBrowser1.Document.body.style.border = "none"
End Sub

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #4
Brian,

Can it be that it is just some slow behaviour, there are so many interfaces
in that class, that opening that browser for me is always a crime.

Cor

"Brian Henry"
When you use the mshtml.dll reference in your project to show a browser
control, the scroll bars are not standard looking.. they are pretty much
flatish with a slight 3d appearence... is there any way to get them to
resemble normal looking scroll bars? thanks

Nov 21 '05 #5
* "Brian Henry" <br**********@newsgroups.nospam> scripsit:
example of what they look like attached... im seeing them looking like they
do in #1, but the standard look is #2, #1 looks flatter then #2, which is
inconsistant to the system style of scrollbar.. what I want is for it to
match the system style and not be a flatter style.


Normally the flatter style is used in fullscreen mode (F11 in MSIE).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #6
yes, however it seems to be appearing when it's in a single control
though... not sure how to change it though...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
* "Brian Henry" <br**********@newsgroups.nospam> scripsit:
example of what they look like attached... im seeing them looking like
they
do in #1, but the standard look is #2, #1 looks flatter then #2, which is
inconsistant to the system style of scrollbar.. what I want is for it to
match the system style and not be a flatter style.


Normally the flatter style is used in fullscreen mode (F11 in MSIE).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7
what do you mean by slow behaviour? what it is showing is pretty much what
you can achieve with a custom scrollbar CSS style... just im not applying
any so I'd expect the standard one to show up. (this shows up like this even
with no web pages loaded in it)
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Brian,

Can it be that it is just some slow behaviour, there are so many
interfaces
in that class, that opening that browser for me is always a crime.

Cor

"Brian Henry"
When you use the mshtml.dll reference in your project to show a browser
control, the scroll bars are not standard looking.. they are pretty much
flatish with a slight 3d appearence... is there any way to get them to
resemble normal looking scroll bars? thanks


Nov 21 '05 #8
Hi Brian,

Did the problem persist with all the web page?
Have you tried to navigate to the website(www.google.com)? Because there is
also a possibility that the client script in the webpage may change the
scrollbar style.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #9
it's the same on any page.
""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:c2**************@cpmsftngxa06.phx.gbl...
Hi Brian,

Did the problem persist with all the web page?
Have you tried to navigate to the website(www.google.com)? Because there
is
also a possibility that the client script in the webpage may change the
scrollbar style.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 21 '05 #10
Hi Brian,

Since I can not reproduce the problem, it is hard to guess what has
happened. Firstly, you may try to run the winapp on other machines to see
if the problem persists.
If no, I think the problem will specified the the machine, have you changed
any windows style( in the Control panel/Display/Themes or Appearance).

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #11
here's an example... its a wrapper application that someone else developed

http://www.itwriting.com/htmleditor/index.php

it uses the microsoft.mshtml.dll reference to do this... and also shows the
scroll bars like that when ran in windows classic mode theme
""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:xb**************@cpmsftngxa06.phx.gbl...
Hi Brian,

Since I can not reproduce the problem, it is hard to guess what has
happened. Firstly, you may try to run the winapp on other machines to see
if the problem persists.
If no, I think the problem will specified the the machine, have you
changed
any windows style( in the Control panel/Display/Themes or Appearance).

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 21 '05 #12
nevermind i figured it out, was sending a WM_FLATSCROLLBAR message to the
host container

"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
here's an example... its a wrapper application that someone else developed

http://www.itwriting.com/htmleditor/index.php

it uses the microsoft.mshtml.dll reference to do this... and also shows
the scroll bars like that when ran in windows classic mode theme
""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:xb**************@cpmsftngxa06.phx.gbl...
Hi Brian,

Since I can not reproduce the problem, it is hard to guess what has
happened. Firstly, you may try to run the winapp on other machines to see
if the problem persists.
If no, I think the problem will specified the the machine, have you
changed
any windows style( in the Control panel/Display/Themes or Appearance).

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.


Nov 21 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Erich Hofacker | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
0
by: | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
2
by: | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
1
by: Dean Hallman | last post by:
I need to ensure client machine has Microsoft.mshtml installed in the GAC. And if not, deploy it. My app is a Browser Helper Object and depends on mshtml. Initially, I thought I could take care...
0
by: Erich Hofacker | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.