Как скрыть TaskBar? |
Previous Top Next |
Code: |
//Спрятать procedure TForm1.Button1Click(Sender: TObject); var hTaskBar : THandle; begin hTaskbar := FindWindow('Shell_TrayWnd', Nil); ShowWindow(hTaskBar, SW_HIDE); end;
//Показать procedure TForm1.Button2Click(Sender: TObject); var hTaskBar : THandle; begin hTaskbar := FindWindow('Shell_TrayWnd', Nil); ShowWindow(hTaskBar, SW_SHOWNORMAL); end; |
©Drkb::01769
Взято из http://forum.sources.ru
Code: |
ShowWindow(FindWindow('Shell_TrayWnd', nil), sw_hide); |
©Drkb::01770
DelphiWorld 6.0