Главная страница | назад





Article #16810: Refreshing the windows desktop

 Question and Answer Database

FAQ1810D.txt   Refreshing the windows desktop
Category   :Windows API
Platform    :All
Product    :All 32 bit  

Question:
How do I cause the Windows Desktop icons to refresh?


Answer:
The following example refreshes the Windows Desktop icons.

Example:

procedure TForm1.Button1Click(Sender: TObject);
begin
  SendMessage(FindWindow('Progman', 'Program Manager'),
              WM_COMMAND,
              $A065,
              0);
end;


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99