Skinning a Scrollbar in C++ (MFC)
I would like to know how to skin a scrollbar in C++.net. When I figure out how to do this I will record the solution here. If anyone else knows how to do this please tell me. I would like to automate the skinning so that it fits in with the MFC framework.
1 Comments:
Well I haven't gotten to work on the scroll bar much. What I have found out is that when you try to draw a scrollbar for a form view there isn't a window for the scrollbars. They are just drawn by the form view. You can draw them by catching the WM_NCPAINT message in the form view. The problem with this is that not all of the painting happens in the NCPaint function. MFC still tries to draw the scrollbar somewhere when the WM_NCMOUSEMOVE message is processed. I've had to put this aside for now, but when I get back on it I'll keep every one posted.
By
Unknown, at 12/27/2004 12:35 PM
Post a Comment
<< Home