The only way I know to launch a windows application is through CreateWindow
. Unfortunately, there is not a window style for a taskbar application, and I was wondering how to make a one. I did find this explanation in C#, but I am looking for a solution able to be compiled with VC++ 2008. Any solutions?
Move Icons on the Taskbar Just press down on an icon with your mouse (or finger on a touch-screen device) and drag it to the left or right.
The key is Shell_NotifyIcon
(as other users suggested).
In a standard scenario your application should have at least one window (at least to receive system tray notification messages). Possibly hidden. On right-click on your tray icon it's a good tone to display a sort of a popoup menu.
I think you may look at this. This simple program demonstrates how to use the system tray in a very minimalistic way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With