Scroll view background color
-
I am using Microlsoft Visual Studio 6.00. I am creating a new frame using CreateNewFrame(). At the time of creation of class I derive the class from CScrollView. I want to paint the background of the view with some color. So I am using SetBkColor as pDC->SetBkColor(RGB(255,0,0)) Here 'pDC' is of OnDraw() method. But it can't work. Plz tell me how can I paint the background window. Regards Nikesh
-
I am using Microlsoft Visual Studio 6.00. I am creating a new frame using CreateNewFrame(). At the time of creation of class I derive the class from CScrollView. I want to paint the background of the view with some color. So I am using SetBkColor as pDC->SetBkColor(RGB(255,0,0)) Here 'pDC' is of OnDraw() method. But it can't work. Plz tell me how can I paint the background window. Regards Nikesh
I hope this will help you [^]