Prueba con esto:
DoEvents!
Código (vb) [Seleccionar]
Option Explicit
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Const GWL_STYLE As Long = (-16)
Private Const WS_CAPTION As Long = &HC00000
Private Const WS_THICKFRAME As Long = &H40000
Private Sub Form_Load()
' Vivan las ranas! :D
SetWindowLong Me.hwnd, _
GWL_STYLE, _
GetWindowLong(Me.hwnd, GWL_STYLE) _
And Not WS_CAPTION And Not WS_THICKFRAME
End Sub
DoEvents!