Author | Message | Time |
---|---|---|
FuZe | I'm using visual basic, and I added code for centering and relocating certain controls when someone resizes the form. The only problem is that everything is flickering so much. I know from java that you can create picture buffer so it won't flicker, but is there a way to do this in visual basic? | September 1, 2003, 12:44 AM |
Camel | [code]Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long Private Sub Form_Resize() LockWindowUpdate hwnd ... LockWindowUpdate 0 End Sub[/code] | September 1, 2003, 2:12 AM |