>_<:The last time,we learned how to use timer to make the picture run
and change show,but sometimes the time may have a little change,for example when
you move the window or do other things the frequency may be effected.And now we
will talk about how to get a stable timer.
>_<:Actually it‘s not difficult,only need to calculate
the difference between successive two times painting.If find
the difference bigger than a seted time value,do a new painting.
>_<:code
StdAfx.h
resourse.h
main.cpp