How can I set my application in the status area?

G

Guest

Dear all,

I've got a problem to set my application in the status area so that I can
receive application message while the window is minimized.
Just put my icon beside my input method in the right corner of windows.
Is it possible to do it with win32 api?
If so, which one shall I call?

Look forward to your reply and thanks in advance.
 
C

Carl Daniel [VC++ MVP]

Kun said:
Dear all,

I've got a problem to set my application in the status area so that I
can receive application message while the window is minimized.
Just put my icon beside my input method in the right corner of
windows. Is it possible to do it with win32 api?
If so, which one shall I call?

See Shell_NotifyIcon in the Windows SDK documentation.

-cd
 
W

William DePalo [MVP VC++]

Kun Niu said:
I've got a problem to set my application in the status area so that I can
receive application message while the window is minimized.
Just put my icon beside my input method in the right corner of windows.
Is it possible to do it with win32 api?
If so, which one shall I call?

Check the docs for Shell_NotifyIcon(). It can manipulate icons in the
"tray".

Also read this knowledge base article for information about some non-obvious
thing syou must do to display a context menu in response to a click on such
an icon:
http://support.microsoft.com/?id=135788

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top