Messages sent to WinProc()
By trying to test which case in the switch within WinProc get executed often, I've forced repainting by using timer & InvalidateRec. To test i've put a three break-points 1 next to..
the other two, where InvalidateRect is called (within WM_TIMER), and third inside WM_PAINT. Press F5 for debug and kept my finger on F5 & noticed that it hardly ever go to WM_TIMER or WM_PAINT but comes to default more often than not... Is that normal?, i thought defaults in switch statements suppose to happen only if things are abnormal...what message values are set to variable message? I noticed mine are random integers which is the reason it always ends on default.