title: How do I start the application minimized with official TTrayIcon (delphi)?
body: <p>My application works in this mode: on start read a INI with user settings then it will be show as normal window or minimized to tray icon.
  If the user had choose to start application minimized to tray icon, on start the user will not see the main window and the task bar icon but only the tray icon, the user can open the application by tray icon menu or by double click on tray icon.
  Besides on start the tray icon change image for some seconds until database data are load.</p>
  
  <p>To to this I use a old component TCoolTrayIcon but now I'd like replace it with official TTrayIcon (Delphi 10 Seattle) but I have some problem:</p>
  
  <ol>
  <li>How can I start application minimized? (show only tray icon, no main window and no task bar icon);</li>
  <li>Show task bar icon only when main window is visible;</li>
  </ol>
  
  <p>With TCoolTrayIcon this is simple but I cannot understand if possible with TTrayIcon, the task icon is always visible and I cannot start minimized in any way.</p>