Changing the color of scroll bars
-
Hello every one ! I'd like to use a CListCtrl in my application, but the way it is displayed is not useful for me because it should be blue instead of gray. X| I looked in previous posts but I haven't found what I'm looking for : getting the scrollbars from the CListCtrl with the function GetScrollBarCtrl(...) is almost impossible, according to me...:confused: If someone has tried to do something approaching, please answer me because I don't know where I should look... :(( Thank you in advance :) Joe
-
Hello every one ! I'd like to use a CListCtrl in my application, but the way it is displayed is not useful for me because it should be blue instead of gray. X| I looked in previous posts but I haven't found what I'm looking for : getting the scrollbars from the CListCtrl with the function GetScrollBarCtrl(...) is almost impossible, according to me...:confused: If someone has tried to do something approaching, please answer me because I don't know where I should look... :(( Thank you in advance :) Joe
you can try reading this http://msdn.microsoft.com/msdnmag/issues/01/11/c/c0111.asp
-
you can try reading this http://msdn.microsoft.com/msdnmag/issues/01/11/c/c0111.asp
Thank you for your answer. :rose: I read that and if I understand well, I shall begin a CScrollBar child class from scratch... X| I think I will handle it in another way.... :) I actually began in this way : A <--- This a button to scroll up | <--- This a background bmp | [] <--- This a button (the box showing the current position in every scrollbar) | <--- This the same background bmp V <--- This another button to scroll down It's a bit messy but I've already done that for a slider, and that works well, so why not ?... ;) My only problem is to get rid of those f*#@^" srollbars inside the CListCtrl (disabling them by checking the 'No scroll' check box won't help : I won't be able to send some WM_VSCROLL to the CListCtrl...) :( If anyone has any idea... :)