LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IWebbrowser2 scrollbar size

Is there any way I can make IWebbrowser2's scrollbar size bigger?
0 Kudos
Message 1 of 5
(4,115 Views)
As far as I'm aware the scrollbar widths are set by the operating system. If it's possible at all it would need to be done with JavaScript or CSS (though I don't know of any CSS properties that deal with scrollbar widths for a browser window). Your best bet is to do a Google search.
0 Kudos
Message 2 of 5
(4,102 Views)

I did before I've posted this. Someone mentioned about API but I don't know much about it. CSS can hide a scroll bar, change color and so on but I didn't found any code that actually resize WebBrowser control vertical/horizontal scrollbars.

 

Thanks anyway.

0 Kudos
Message 3 of 5
(4,099 Views)

c.murphy wrote:

I did before I've posted this. Someone mentioned about API


They're probably referring to the Windows API. I'm not aware of a specific API function that will change a window's scroll bar width after it's been created. The Display Properties control panel applet allow you to do this, but that affects all windows. Do you have a link to a discussion that says what API functions to use?

0 Kudos
Message 4 of 5
(4,096 Views)

This post didn't change scrollbar properties but the guy mentioned about get its properties via API:

http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.framework.drawing/2005-10/msg0007...

0 Kudos
Message 5 of 5
(4,093 Views)