title: Handle WM_CLOSE message send to C# Tray App
body: <p>I found a couple of articles telling me how to make use of the WM_CLOSE message but never the less my application is the one who has to handle the WM_CLOSE message.</p>
  
  <p>Is there a way to hook up the WM_CLOSE and handle it? Because the WM_CLOSE only closes the tray icon but does not terminate the process itself ...</p>
  
  <p>Regards,</p>