problem with Gradient scroll
-
Hi I have a ListBox( CListCtrl) with vertical scroll bar I painted Gradient blue color on the CListCtrl View in ON_WM_ERASEBKGND() handler Now the problem is when i scroll the list ... the gradient color goes for toss and looks patchy I attached the image in code guru ( i donno how to attach in here) http://www.codeguru.com/forum/showthread.php?p=1746548#post1746548[^] I am manifesting windows common controls 6 Is there any solution Any body has got any idea? Please help me out Thanx a lot
-
Hi I have a ListBox( CListCtrl) with vertical scroll bar I painted Gradient blue color on the CListCtrl View in ON_WM_ERASEBKGND() handler Now the problem is when i scroll the list ... the gradient color goes for toss and looks patchy I attached the image in code guru ( i donno how to attach in here) http://www.codeguru.com/forum/showthread.php?p=1746548#post1746548[^] I am manifesting windows common controls 6 Is there any solution Any body has got any idea? Please help me out Thanx a lot
-
Try to Erase Back Ground while moving the vertical scrollbar. I mean to say on mouse move while handeling the vertical scrool bar erase the Back Ground as earlier.
thanx for the reply i will try that but one more update no mater wether its ListCtrl view r normal dialog box same issue happnd when i scroll ...... gradient color gets Discarded now scroll bar is not part of the dialog but i am moving up and down when i scroll the scroll bar