There are some trial and error to get it nice into your code, but I think it is a great solution to make a CListCtrl blend into the backround and make your own scrollbars (if needed )
I think this one is easier :
- add the LVS_EX_FLATSB extended style to your list control;
- use FlatSB_SetScrollProp to set the width and height of the scroll bars to zero.
I managed to create a control that has an embedded tree & list
control, using the above method, and also was able to provide
my own scrollbars in the controls non-client area.
no problem, if you want to know how to set scrollbars in a client window then let me know, I am just finishing up on a project that demonstrates the above.
If I had the time but I am very busy at the moment, but would be happy to supply any code or help if asked, the problem I am currently having is scrolling this is down to my controls being custom drawn, but should have solved very shortly, then I will send you project.
Bookmarks