title: Win32: Changing Program Icon
body: <p>I had originally decided that IDI_ICON1 would be a good fit for my program:</p>
  
  <pre><code>wndclass.hIcon         = LoadIcon (HINST_THISCOMPONENT, MAKEINTRESOURCE(IDI_ICON1));
  </code></pre>
  
  <p>The icon then appeared in the top left of the title menu for my main window and for the .exe file in Windows explorer.</p>
  
  <p>I decided I liked IDI_ICON2 better, so I changed:</p>
  
  <pre><code>wndclass.hIcon         = LoadIcon (HINST_THISCOMPONENT, MAKEINTRESOURCE(IDI_ICON2));
  </code></pre>
  
  <p>Now icon2 appears in the top left of the title menu, but the icon in Windows explorer is still shown as icon1. What am I missing?</p>