This topic is now archived and is closed to further replies.


How to minimize to the SystemTray?

Recommended Posts

You use Shell_NotifyIcon() to create the icon on the system tray (and get notifications that the user clicked on your icon).

If you want the animation of your window minimizing to the tray, then you have to do that yourself. You can use SetWindowPlacement() to set the x, y pos of where the window should minimize to, and then call ShowWindow() to minimize the window.


Share this post

Link to post
Share on other sites