Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

How to skin scrollbars for Panels, in C#

, 13 Jul 2006
This article shows you how to create a skinnable scrollbar as a user control, and use it in a Panel to replace the ugly Windows scrollbar.
customscrollbar_src.zip
TestApp
CustomControls
bin
obj
Debug
Refactor
TempPE
Release
CustomControls.dll
Properties
Resources
downarrow.png
ThumbBottom.png
ThumbMiddle.png
ThumbSpanBottom.png
ThumbSpanTop.png
ThumbTop.png
uparrow.png
TestApp
bin
obj
Debug
TempPE
Resource.Designer.cs.dll
Release
Properties
Settings.settings

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp", "TestApp\TestApp.csproj", "{7C148DC8-C7B2-4846-A365-A322B9EB4B89}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControls", "CustomControls\CustomControls.csproj", "{5B85E2D7-2005-4496-B5D7-59C68A1EC91D}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{7C148DC8-C7B2-4846-A365-A322B9EB4B89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{7C148DC8-C7B2-4846-A365-A322B9EB4B89}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{7C148DC8-C7B2-4846-A365-A322B9EB4B89}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{7C148DC8-C7B2-4846-A365-A322B9EB4B89}.Release|Any CPU.Build.0 = Release|Any CPU
		{5B85E2D7-2005-4496-B5D7-59C68A1EC91D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{5B85E2D7-2005-4496-B5D7-59C68A1EC91D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{5B85E2D7-2005-4496-B5D7-59C68A1EC91D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{5B85E2D7-2005-4496-B5D7-59C68A1EC91D}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Greg Ellis
Web Developer www.clubdjpro.com
Canada Canada
I am the co-founder of Cube Software Solutions Inc. and ClubDJ Pro DJ Software.
 
DJ Software - www.clubdjpro.com
Company Website - Web design edmonton
Buy App Source Code - www.appdevelopmentcode.com

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 13 Jul 2006
Article Copyright 2006 by Greg Ellis
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid