Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Const SW_HIDE = 0
Const SW_NORMAL = 1
Dim tWnd As Long
Private Sub Form_Load()
Me.Top = 0
Me.Left = 0
Me.Width = Screen.Width
Me.Height = Screen.Height
tWnd = FindWindow("Shell_TrayWnd", vbNullString)
ShowWindow tWnd, SW_HIDE
End Sub
Private Sub Form_Terminate()
ShowWindow tWnd, SW_NORMAL
End Sub