照你的意思好像这样就可以了<br><br>procedure hidetaskbar;<br>var <br> wndhandle:thandle;<br> wndclass:array[0..50] of char;<br>begin<br> strpcopy(@wndclass[0],'shell_traywnd');<br> wndhandle:=findwindow(@wndclass[0],nil);<br> showwindow(wndhandle,sw_hide); //恢复用sw_restore<br>end;