This don't really make sense to me... But, try this: Private Sub Show_Hide(blnShow As Boolean) Dim hWndTray As Long Dim hWndClock As Long hWndTray = GetDlgItem(FindWindow(TASKBAR, ""), ID_TRAY) hWndClock = GetDlgItem(hWndTray, ID_CLOCK) If hWndClock = 0 Then Exit Sub ShowWindow hWndClock, IIf(blnShow, SW_SHOW, SW_HIDE) UpdateWindow hWndClock UpdateWindow hWndTray End Sub Eric Dahlvang-Programmer