请教图片框的抖动问题
我在图片框里打印了几个字母,然后用timer
使它移动,可是闪烁的很厉害,请高手指点:
Private Sub Form_Load()
picture1.print "abcd"
end sub
Private Sub Timer1_Timer()
Call LockWindowUpdate(Me.hWnd)
picture1.top=picture1.top+50
picture1.left=picture1.left+50
Call LockWindowUpdate(0)
End Sub
form1 和picture1的autoredraw都设为true.
请各位高手指教,谢谢!