System Tray Window

Started by
1 comment, last by zackriggle 21 years, 5 months ago
Alright, Shell_NotifyIcon is not working for me.... all that does is place an Icon on the System Tray. How do I create an app that, if you right-click on that icon, it brings up a menu of commands, and if you left(normal)-click on it, it executes the default command (ex. restore a window for a chat server).... It''''d make our lives a hell of a lot easier
Advertisement
Whenever "something" happens to icon (the user clicks it, etc) windows sends a message to the window identified in the hwnd parameter you specified when creating the icon. You just respond to those messages however you require.

If I had my way, I''d have all of you shot!

codeka.com - Just click it.
As I said in your other message, check CodeProject [^]. They have classes that will handle most of the work for you. Or just read the code and base yours off how theirs work.

Always remember, you''''re unique. Just like everyone else.
Always remember, you''re unique. Just like everyone else.Greven

This topic is closed to new replies.

Advertisement