RepaintScreen procedure
Shell utilities routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
procedure RepaintScreen;  

Description
The RepaintScreen procedure completely refreshes user's desktop. Call RepaintScreen to repaint all windows of running programs.  

Original code
procedure RepaintScreen;  
begin  
  try  
    WinExec('rundll32 user,repaintscreen', SW_SHOWNORMAL);  
  except  
  end;  
end;