Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zoom effect glitches...

112| Sun, 11 Nov 2007 00:19:00 GMT| anonymous| Comments (0)
[Originally posted by rcoltrane]

Im using the current code to do a Form "zoom" effect, but during the zooming, the image shows a lot of crap in the form screen area. Is there any way to remove this graphic glitches during the zoom? (note: Ive used the me.refresh but it only works over the last image and doesnt work during the zoom).
Heres the code Im talking about:

Private Declare Function AnimateWindow Lib "user32" (ByVal hwnd As Long, ByVal dwTime As Long, ByVal dwFlags As Long) As Boolean

Private Sub Form_Load()
AnimateWindow Me.hwnd, 900, &H10
Me.Refresh
End Sub

This is for zoom in. How can I do a zoom out using this same code? (for example, by exiting the program).

Keywords & Tags: zoom, effect, glitches, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560716/
 
«« Prev - Next »» 0 helpful answers below.

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories