Well what i see in this program is that he calls functions in WM_TIMER and not in WM_PAINT. And you told me above not to call drawing function in WM_TIMER.
He also put a TODO in WM_PAINT, so maybe i should put some code there?
http://www.turboupload.com/files/get...ource-code.zipCode:case WM_TIMER: { //controls growth of the ellipse if (growth > 50 || growth < 0) addition *= -1; growth += addition; if(double_buffer == true) Draw_With_Buffering(); else Draw_Without_Buffering(hWnd); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Fügen Sie hier den Zeichnungscode hinzu... EndPaint(hWnd, &ps); break;