Even though l_buffer on the screen doesn't change, the above key message changed and printed message on the termainal decreased, which means the program worked well and qualified enough.
as thread: Animation_5times_thread : well
normally: Animation_5times_thread_011: well
mainWindowProc:
-paintWindowProc:
--Animation_5times_thread_011:
InvalidateRect: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-invalidaterect
DefWindowProc: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-defwindowproca