The Windows Taskbar behaves like a normal window, so you can use the SW_ parameters on the ShowWindow function. You only need the Taskbar handle and you find it with FindWindow function procedure TForm1.Button1Click((Sender: TObject); begin ShowWindow(FindWindow('Shell_TrayWnd', nil), SW_HIDE); end; Changing SW_HIDE to SW_SHOW will invert the process: procedure TForm1.SetEditsColor(NewColor: TColor); begin ShowWindow(FindWindow('Shell_TrayWnd', nil), SW_SHOW); end;
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
dcterms:subject | |
dbkwik:delphi/prop...iPageUsesTemplate | |
abstract |
|