How to minimize to the SystemTray?
Hi all,
how do I minimize my application, so that it
goes into the system tray?
Thanks for any help,
see Shell_NotifyIcon().
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
[ 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
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
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>
</td>
<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
Popular Topics
Advertisement