A good old task to easily minimize to system tray icon to not clog the application bar and without too much thinking about it. How To with WTL? The key points are: manage NOTIFYICONDATA structure (obviously!), where non-zero .cbSize will be an indication of created icon create an icon in WM_SYSCOMMAND/SC_MINIMIZE handler and hide instead…