Improve company productivity with a Business Account.Sign Up

x
?
Solved

Skinnable scrollbars!

Posted on 2008-10-15
5
Medium Priority
?
232 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 2000 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

607 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