title: Can you have a win32 program that consists solely of a tray (notification) icon?
body: <p>I have a program that literally consists of a tray icon. No GUI is needed. However, when writing the win32 code, is it necessary to still initialize a hWnd object to be associated with the tray icon? </p>
  
  <p>For instance, it is normal to have a the NOTIFYICONDATA hWnd field point to the window's handle. Like</p>
  
  <pre><code>nid.hWnd = hwnd;
  </code></pre>
  
  <p>Essentially, will my icon be able to still receive messages if i set </p>
  
  <pre><code>nid.hwnd = NULL;
  </code></pre>