title: Old Delphi hide/show desktop icons method not working under Windows 7 64 Bit
body: <p>I have a Delphi 2010 app which shows/hides the desktop icons under XP fine.  However under my Window 7 test environment (happens to be 64 bit) the icons don't disappear.</p>
  
  <p>Here is the critical code I am using (for the hide):</p>
  
  <pre><code>ShowWindow(FindWindow(nil, 'Program Manager'), SW_HIDE );
  </code></pre>
  
  <p>I have found I can set the registry:</p>
  
  <pre><code>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
  "HideIcons"=dword:00000001
  </code></pre>
  
  <p>And that works fine if I restart windows (or kill explorer and restart it), however is there a way to get the old code to work and/or tell the desktop to reload using the new registry information without such radical methods.</p>
  
  <p>Thank in advance.</p>