如果隐藏和显示windows的任务条?仅仅调用以下的函数就可以.
procedure hidetaskbar;
//隐藏
var
wndhandle : thandle;
wndclass : array[0..50] of char;
begin
strpcopy(@wndclass[0], 'shell_traywnd');
wndhandle := findwindow(@wndclass[0], nil);
showwindow(wndhandle, sw_hide);
end;
procedure showtaskbar;
var
wndhandle : thandle;
wndclass : array[0..50] of char;
begin
strpcopy(@wndclass[0], 'shell_traywnd');
wndhandle := findwindow(@wndclass[0], nil);
showwindow(wndhandle, sw_restore);
end;