如何将c ++控制台应用程序放入系统托盘.

问题描述:

hi All
我做了一个简单的C ++控制台应用程序,我想把它放在系统托盘中.

hi All
i have made simple c++ console application and i want to put it in system tray.. can i do this. and how??

您不能因为一个特殊原因:当您这样做时,它将不再是控制台应用程序". :-)

参见:
http://bobobobo.wordpress.com/2009/03 /30/adding-an-icon-system-tray-win32-c/ [系统任务栏图标-将您的应用程序最小化到SysTray [将图标添加到系统托盘 [鼠标!滚动并停放 [^ ] .

—SA
You cannot because of one particular reason: when you do it, it won''t be a "console application" anymore. :-)

See:
http://bobobobo.wordpress.com/2009/03/30/adding-an-icon-system-tray-win32-c/[^];

CodeProject articles:
System Tray Icons - Minimize Your Application to the SysTray[^],
Adding Icons to the System Tray[^],
Mousey! Roll Over and Park[^].

—SA