Is there any way to stop Window-Resize Animation for my Form only ?
I'm changing the Form from vbMaximized/vbNormal mode to fullscreen-mode. The animation looks bad.
VB Code:
Private Sub cmdFullScreen_Click() If IsFullScreen Then 'change to Maximized RemoveTitlebar Me.hwnd ' This Sub removes titlebar at runtime Me.WindowState = vbMaximized IsFullScreen = False Else Titlebar False, Me.hwnd Me.WindowState = vbNormal ' A maximized/Minimized form ' Can't be moved Me.Move 0, 0, Screen.Width, Screen.Height IsFullScreen = True End If End Sub




Reply With Quote