简体   繁体   English

为什么我的程序的系统任务栏图标在Windows 7中不可见?

[英]Why is the system tray icon for my program not visible in Windows 7?

I'm unable to find system tray icon for my program after the installation . 安装后,我找不到程序的系统任务栏图标。 I could see that In Windows XP, it works just fine: the user can launch a program by clicking on the same. 我可以看到在Windows XP中它可以正常工作:用户可以通过单击它来启动程序。

However, in Windows 7 (both Home and Ultimate editions), the icon is not shown in system tray , but it works after I reboot my machine. 但是,在Windows 7(家庭版和旗舰版)中,该图标未显示在系统任务栏中,但是在重新启动计算机后它可以工作。

I have tried putting the code to refresh shell icons in the installer script, but this does not seem to have fixed the problem. 我曾尝试将代码刷新安装程序脚本中的外壳图标 ,但这似乎并未解决问题。

Can anyone help me on this?? 谁可以帮我这个事??

PS: I use NSIS script for my installer. PS:我的安装程序使用NSIS脚本。

  • Is it simply hidden in the pop-up that opens when you click the little arrow? 单击箭头后,它是否只是隐藏在打开的弹出窗口中?

  • If not, is your program actually running at all? 如果不是,您的程序实际上是否在运行?

  • If your program is running, use Process Explorer to check its integrity level (the Integrity column in Process Explorer). 如果您的程序正在运行,请使用Process Explorer来检查其完整性级别(Process Explorer中的Integrity列)。 After you reboot and the icon appears, does the process have the same integrity level as when it didn't appear? 重新启动并显示图标后,该进程的完整性级别是否与未出现的级别相同?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows 7系统托盘中添加小工具图标(以显示小工具) - Adding a Gadgets icon to the Windows 7 System Tray (to show the gadget) 系统托盘弹出Windows 7样式 - System Tray Popup Windows 7 Style 如何在Windows中始终显示程序托盘图标*默认*? - How to always show program tray icons in Windows by *default*? 为什么我的项目的图标在Windows 7中看起来如此可怕? - Why does the icon for my project look so horrible in Windows 7? Windows 7程序兼容性助手出现在我的应用程序中。为什么? - Windows 7 Program Compatibility Assistant appeared for my app. Why? win7 32位下如何用C++ api通过TBBUTTONINFO结构体的iImage成员提取系统托盘上的图标? - How to extract the icon on system tray through the iImage member of TBBUTTONINFO structure with C++ api under win7 32bit? system32中的某些文件对于Java程序不可见/可访问 - Some files in system32 not visible/accessible for Java program 停止自动隐藏托盘通知图标 - stop auto hiding tray notification icon 为什么在C中使用错误的格式说明符会使我的程序在Windows 7上崩溃? - Why does using the wrong format specifier in C crash my program on Windows 7? 为什么我的代码无法在Windows 7下的“ C:\\ Program Files”中创建目录? - Why does my code fail to create a directory in “C:\Program Files” under Windows 7?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM