-
February 3rd, 2022, 12:11 PM
#1
CTreeCtrl use custom Scrollbar
Hi gurus,
I have a subclassed CTreeCtrl class and I make a custom color skin for it. I also subclassed CScrollbar class and make a custom skin for it. Now I want to force MyCustomTreeCtrl class to use MyCustomScrollbar. I don't know if there is an easy way to do so.
Thx in advance.
-
February 4th, 2022, 04:28 AM
#2
Re: CTreeCtrl use custom Scrollbar
It seems to me the tree control draws its scrolbars itself. So I have no idea how you could implement your custom scrollbars.
I guess you should try to implement a custom or owner draw in your tree control.
Or you could try the technique described here.
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|