Key Shell_NotifyIcon (as suggested by other users).
In the standard scenario, your application must have at least one window (at least to receive notification of notification in the system tray). Perhaps hidden. Right-click on the icon of your tray to display a kind of popup menu.
I think you can see this . This simple program demonstrates how to use the system tray in a very minimalistic way.
valdo source share