SDI, ScrollView, add OnPaint() for scrollview
in OnPaint()
the problem is when I scroll the view, the background will become dirty.Code:dc.FillSolidRect(CRect(0, 0, 78, 30), RGB(0xff, 0, 0xff));
how to avoid this?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: a simple problem about CDCThreaded View
|
Click Here to Expand Forum to Full Width |