CtreeView with Gradient BackGround
-
I have a view whic is derived from CView on top of that view i have a tree controls which is derived from CtreeCtrl now i wanna make the background of the tree control with gradient i know how to paint gradient color now please let me know where to write the gradient code ? in View which is derived from Cview? -- seems its not working coz on top of this view Tree ctrl is sitting? then shud i place the code onPaint() of CTreeCtrl? - tried and its not working as u can see only color but not tree nodes then shud i place it OnEraseBkgnd? please let me know
-
I have a view whic is derived from CView on top of that view i have a tree controls which is derived from CtreeCtrl now i wanna make the background of the tree control with gradient i know how to paint gradient color now please let me know where to write the gradient code ? in View which is derived from Cview? -- seems its not working coz on top of this view Tree ctrl is sitting? then shud i place the code onPaint() of CTreeCtrl? - tried and its not working as u can see only color but not tree nodes then shud i place it OnEraseBkgnd? please let me know