Mega Code Archive

 
Categories / Delphi / System
 

Hiding Showing the windows desktop icons

Title: Hiding / Showing the windows desktop icons Question: How to hide and show the desktop icons? Answer: Here is a little example to show the problem; procedure TForm1.Button1Click(Sender: TObject); begin // hide icons ShowWindow(FindWindow(nil,'Program Manager'),SW_HIDE); end; procedure TForm1.Button2Click(Sender: TObject); begin // show icons ShowWindow(FindWindow(nil,'Program Manager'),SW_SHOW); end;