动画

来源:互联网 发布:linux添加路由脚本命令 编辑:程序博客网 时间:2024/04/25 20:51

while(msg.message!=WM_QUIT)

{

if(PeekMessage(&msg,NULL,0,0,PM_REMOVE) )

{

TranslateMessage(&msg);

DispatchMessage(&msg);

}

else

{

tNow=GetTickCount();

if(tNow-tPre>=100)

MyPaint(hdc);

}

}

原创粉丝点击