Within a WM_PAINT, you have to draw to the DC returned
by BeginPaint().
Code:case WM_PAINT:{ PAINTSTRUCT ps; HDC myDC = BeginPaint(hWnd, &ps); // do whatever // cleanup EndPaint(hWnd, &ps); return(0); }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: drawing problems Property PageThreaded View
|
Click Here to Expand Forum to Full Width |