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
Solved

Skinnable scrollbars!

Posted on 2008-10-15
5
214 Views
Last Modified: 2013-11-20
Ah hello.

I am trying to skin scrollbars on a window, be it a frame window or a control on a dialog.

I have found the article http://www.codeproject.com/KB/dialog/skinscrollbar.aspx but it offers very little explanation of how it works.  When I was learning about subclassing in general, I followed the article at http://www.codeproject.com/KB/combobox/listboxexByEricSanchez.aspx, which, whereas probably a little excessive in explanation for some, I found perfect, since I have had very little need for custom controls hence have never looked at them.

But now I need a scrollbar, and would like an article of the quality of the latter linked to above.

Can someone offer either a book title or online article that offers an explanation of how to achieve this please?

TIA
0
Comment
Question by:mrwad99
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:alb66
ID: 22739841
0
 
LVL 19

Author Comment

by:mrwad99
ID: 22739889
Thanks.
That was one of the many links I have already looked at :).  However, if there are no more helpful posts, I will accept this and post a summary of my findings.
0
 
LVL 19

Accepted Solution

by:
alb66 earned 500 total points
ID: 22739958
0
 
LVL 19

Author Comment

by:mrwad99
ID: 22739984
Again, looks like we did the same searches - already looked at those.  The Dr Dobbs one is interesting in the sense that it derives from CWnd not CScrollbar, but overall, I am sure there is adequate info here to help future searchers of this topic.
0
 
LVL 19

Author Closing Comment

by:mrwad99
ID: 31506228
Thanks :o)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

829 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