Solved

Skinnable scrollbars!

Posted on 2008-10-15
5
212 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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