I'm writing a win32 app that re-paints the client area everytime the user clicks inside of it. Unfortunately after about 25 or 26 clicks the window gets painted white, but the black grid lines still appear.
The WM_PAINT case goes through a for loop and asks another class what should be at that square and displays it.
I've tried adding a timer that repaints the screen whenever a flag is put up, but the same thing happens.
Any ideas? Thanks