***************************************************************** * Neveprise Inc. Delphi FAQ * ***************************************************************** * Section: WinAPI Topic: Hiding the taskbar * * Created: July 26th, 1999 Revised: July 26th, 1999 * * Updates: www.neveprise.de Info: support@neveprise.de * ***************************************************************** Q: How can I hide or show the windows taskbar? A: Normally, a form having the flag FormStyle set to fsStayOnTop Hides the taskbar, but if the user has set the auto-hide mode, a small line rests at its position. But by retrieving the taskbar's handle and using ShowWindow() you can com- pletely hide the bar from Desktop, even if no form covers it. function ShowBar(Show: boolean): boolean; var hWnd: THandle; begin hWnd:=FindWindow('Shell_TrayWnd',nil); if Show=false then begin Result:=ShowWindow(hWnd, sw_Hide); end else begin Result:=ShowWindow(hWnd, sw_Show); end; end; Blazko