感谢您花时间阅读我的问题。
如果我构建一个程序,当我最小化它时,如何让它隐藏在通知区域(Windows 7,不记得它在 XP 或 Vista 中的名称)?就像 Torrent 程序或防病毒程序一样。
我还想知道,如何将其从通知区域隐藏并在输入热键命令时将其显示出来?
关于我正在做的程序中遇到的这两个问题中的任何线索都会很棒。
谢谢
Thanks for taking the time to read my question.
If I build a program, how can I get it to hide in the notifications area(windows 7, cant remember what it's called in XP or Vista) when I minimize it? Like say a Torrent program, or a AntiVirus program.
Also I'd like to know, how can I hide it from the notifications area and bring it up when it a hotkey command is entered?
Any clues on any of these two problems I'm having for an a program I am doing would be great.
Thankyou
发布评论
评论(1)
如果您的 C++/CLI 程序适用于 Windows 窗体,则可以使用 NotifyIcon 组件:
http://msdn.microsoft.com/en-us/library/system.windows.forms.notifyicon.aspx
If your C++/CLI program works with Windows Forms, you can use NotifyIcon component:
http://msdn.microsoft.com/en-us/library/system.windows.forms.notifyicon.aspx