Color Scroll Bar for TreeView
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Does anyone know if there is a way to add a flat, coloured scroll bar instead of the default grey, 3D one to a TreeView/TreeCtrl ? I've tried loads of things such as superclassing as well as trying to capture the WM_CTLCOLORBTN/WM_CTLCOLORSCROLLBAR message but all to not avail. The GetScrollBarCtrl method always returns NULL for this type of view as well. I've even tried capturing the WM_HSCROLL event in OnHScroll but the value of the CScrollBar* parameter returned by this is always NULL so you can't get a handle to it for subclassing. Any help would be greatly appreciated, Thanks, Matt:confused: