Skinning a WebBrowser Control's ScrollBar in VB6 |
Post Reply |
Author | |
JasonG
Groupie Joined: 07 July 2008 Status: Offline Points: 76 |
Post Options
Thanks(0)
Posted: 29 July 2008 at 1:19pm |
This Demo shows you how to hide the VB6 WebBrowser Control's Vertical Scrollbar, and replace it with a CJ Scrollbar so they skin will be applied to it properly. The demo was sort of thrown together in haste, but this gives you an idea. It involves some VB Code, and Some HTML/Javascript.
This Demo also include the adding of the mousewheel support for the scrollbar. I noticed that the Scroller arrows get skinned while the track slider doesn't get skinned, but if you load the skin control on a new form before loading the main form with the scroller (as described several times on this forum), you should have better results. uploads/20080729_131826_ScrollbarSkinDe.zip Run the project, and click the Command1 Button. |
|
Product: Xtreme SuitePro (ActiveX) 12.0.1
Platform: Windows Vista/XP Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |