views:

97

answers:

4

I want to add some simple win32 application's icon to task bar while app is running in background. During this time, i want to send some msgs to that icon so that it pops up as per my req. Unfortunately i know only c\c++ and i use visual studio8, is there a way or api to do this? example: outlook icon or wifi icon

A: 

There are many examples of this available on the internet, even one or two in MSDN.

Google is your friend. (or Bing or whatever).

Michael J
+3  A: 

Sure there is an api, Shell_NotifyIcon function does that.

You have to fill a NOTIFYICONDATA Structure and then call the above function.
What Shell_NotifyIcon will do depends on the flag that you'll set.

Nick D
+1  A: 

Are you after a way to just show an icon down there, or do you want pop-ups like those Outlook and the like show when something happens?

To manipulate the icon itself, use Shell_NotifyIcon. There's a description of all of these things in this MSDN article. IF you want to show a pop-up, then you'll need to either use the balloon pop-ups (see the article), or create your own window and manage it yourself. It's up to you to determine which one is more appropriate for your needs.

Michael Madsen
A: 

you can try http://www.xs4all.nl/~broekroo/aetraymenu/

rahmivolkan