How can I set my application in the status area?

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
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
 
Back
Top