去掉:<br>var Buffer:Array[0..50] of char;<br> Handle:HWND;<br>begin<br> strcopy(Buffer,'Progman');<br> Handle:=FindWindow(Buffer,nil);<br> if(Handle>0) then ShowWindow(Handle,SW_HIDE);<br> strcopy(Buffer,'Shell_TrayWnd');<br> Handle:=FindWindow(Buffer,nil);<br> if(Handle>0) then ShowWindow(Handle,SW_HIDE);<br>end;<br><br>显示:<br>var Buffer:Array[0..50] of char;<br> Handle:HWND;<br>begin<br> strcopy(Buffer,'Progman');<br> Handle:=FindWindow(Buffer,nil);<br> if(Handle>0) then ShowWindow(Handle,SW_SHOW);<br> strcopy(Buffer,'Shell_TrayWnd');<br> Handle:=FindWindow(Buffer,nil);<br> if(Handle>0) then ShowWindow(Handle,SW_SHOW);<br>end;