How to minimize to the SystemTray?

Started by
3 comments, last by Prozak 22 years, 3 months ago
Hi all, how do I minimize my application, so that it goes into the system tray? Thanks for any help,

[Hugo Ferreira][Positronic Dreams][]

Advertisement
see Shell_NotifyIcon().

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
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.


-Brannon
-Brannon
eya, thanx for tha tip !

[Hugo
Ferreira
][Positronic
Dreams
][]

"Research is what I''m doing when I don''t know what I''m doing. "

- Wernher Von Braun (1912-1977)

x

<td>

[Hugo Ferreira][Positronic Dreams][]

"Research is what I''m doing when I don''t know what I''m doing. "

- Wernher Von Braun (1912-1977)




</td>

This topic is closed to new replies.

Advertisement