watch 01:25
Jurassic World: Dominion Dominates Fandom Wikis - The Loop
Do you like this video?
Play Sound
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;
See also[]
External links[]
Code Snippets | |
---|---|
Databases • Files and I/O • Forms/Windows • Graphics • Networking • Math and Algorithms • Miscellaneous • Multimedia • System • VCL |