473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How can I set my application in the status area?

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.
Dec 22 '05 #1
4 1217
Kun Niu wrote:
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
Dec 22 '05 #2
"Kun Niu" <Ku****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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
Dec 22 '05 #3
Thank you:)

"Carl Daniel [VC++ MVP]" wrote:
Kun Niu wrote:
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

Dec 22 '05 #4
Really appreciate your reply^_^

"William DePalo [MVP VC++]" wrote:
"Kun Niu" <Ku****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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

Dec 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steve Lamb | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, this one I did try before coming here... :) I am trying to report the status of what is going on to the status bar of the main window of my...
10
by: George Hester | last post by:
When the mouse is over an image map where the various parts of the image are links to other areas, the status bar says, "Shortcut to ..." I would prefer to have the status bar say something...
0
by: Anaam | last post by:
I have a page which is using html area and it is also uploading image files to be place in an HTML file on server side. im using ajax to send requests to server side. page works fine, image is...
3
by: Gordon Truslove | last post by:
I've been trying to get the printer status using GetPrinter and Printer_Info_2 I'm getting closer, but it still fails. Error 122 - The data area passed to a system call is too small....
6
by: Dave Weber | last post by:
I'm in the process of writing an open-source plugin-enabled application. I know that you can define the API in several ways, and right now it is equipped as an Interface. The gist of the...
2
by: Randall Powell | last post by:
I am in the process of developing a Windows Service which will: (1) monitor multiple network shares; (2) marshal text file transfers into an SQL Server 2000 instance; and (3) provide messaging...
3
by: Daniel Liberman | last post by:
Hi, everyone. That's my environment: - I have a pocket pc (iPAQ h4350) application developed with VSNET2003/C# that has a SQL Server CE Database, running. That's working fine. Obs: the pocket...
5
by: smitacharya | last post by:
Hi, I am trying to convert the text on status bar into hyperlink. Is there a way to do so? Thank you in advance. -Smita
3
by: tshad | last post by:
My status window is showing in a small XP window I am opening up even though I have "Status=no" function OpenLogoPreviewWindow() {...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.