WM_Paint not updating using GDI
well I've made a simple program. It draws some shapes onto the screen. I have also made a timer which increases the x of the shapes every 5 seconds so it appears that its moving.
The issue is its repainting the window as you can see the new shapes but you can also see the old shapes unless you resize the window (and thus updating it).
I am using DC instead of begin paint so any ideas of what I may be doing wrong?
Ignore the cicrcle not moving I done that on purpose