.elseifuMsg==WM_PAINT
invokeBeginPaint,hWnd,addr@stPS
mov@hDC,eax
moveax,@stPS.rcPaint.right
subeax,@stPS.rcPaint.left
movecx,@stPS.rcPaint.bottom
subecx,@stPS.rcPaint.top
invokeBitBlt,@hDC,@stPS.rcPaint.left,@stPS.rcPaint.top,eax,ecx,\
hDcTemp,@stPS.rcPaint.left,@stPS.rcPaint.top,SRCCOPY
invokeEndPaint,hWnd,addr@stPS
在你的timer消息处理中在hDcTemp上绘图,最后
invokeInvalidateRect,hWnd,NULL,FALSE
|