This useful Delphi hint and source code, shows you how to find and then hide or show the Windows Taskbar.
procedure TForm1.HideTaskBar(Sender: TObject);
var
H : HWND;
begin
H := FindWindow('Shell_TrayWnd', nil);
ShowWindow(H, SW_HIDE);
Sleep(2000);
ShowWindow(H, SW_SHOW);
end;