Variable not updating in WM_PAINT after calling InvalidateRect() in WM_COMMAND

Printable View