I noticed someone posted in the codes section some helper routines which include hiding and revealing a window:
Function HideWindow(hWnd) ShowWindowA(hWnd,0) End Function Function ShowWindow(hWnd) ShowWindowA(hWnd,5) End Function .lib "yourfunc.bbh" HideWindow(hWnd%) ShowWindow(hWnd%) .lib "user32.dll" ShowWindowA%(hWnd%,com%):"ShowWindow"