C++ system tray only program
问题 After checking Microsoft's documentation on system tray icons (that I could find): Shell_NotifyIconA function NOTIFYICONDATAA structure I've noticed that a window handle (HWND) is REQUIRED. This is very bad for what I'm trying to accomplish, as I'm looking to create a program that only reacts to the system tray: it doesn't "minimize" the window to the tray, it just uses notifications (clicking/right clicking on the icon) to interact. How would I go about doing this? 回答1: The Windows 7 SDK