试一试这个!<br>隐藏和显示Windows的任务条<br>如果隐藏和显示Windows的任务条?仅仅调用以下的函数就可以.<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); <br>End;<br> <br>procedure showTaskbar; <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_RESTORE); <br>end; <br>