好象理解错误, 是想让win的任务栏隐藏吧?
procedure SetTaskbar(ShowHide: Boolean);
//False--隐藏
//True --恢复
const
SW_Info: array[Boolean] of Word = (SW_HIDE, SW_RESTORE);
var
wndHandle : THandle;
wndClass : array[0..50] of Char;
begin
StrPCopy(@wndClass[0], 'Shell_TrayWnd');
wndHandle := FindWindow(@wndClass[0], nil);
ShowWindow(wndHandle, SW_Info[ShowHide]);
end;