none
In windows 7, System tray icon is hidden by default RRS feed

  • Question

  • Hi Friends,

    I've application to show the system tray icon but
    it is hidden on windows 7 by default. Otherwise it 
    is working fine on other OS.

    Is there any other solution if possible using registry, manifest, APIs etc.?

    If user can show system tray icon manually as, right click on task bar select properties and customize notification area. So, I think there must be solution using programmatically.

    Thanks,
    Sunil.
    Friday, October 2, 2009 2:35 PM

Answers

All replies

  • I request to suggest the solution as early as possible.

    Saturday, October 3, 2009 6:07 AM
  • Hi sunil,

     

    Windows 7 Taskbar has some new features like Overlay Icons and Progress Bars.  They can give the user more contextual status information from Overlay Icons and Progress Bars in spite of notification tray icons and even if the application window does not display.   For detail, please see http://windowsteamblog.com/blogs/developers/archive/2009/07/28/windows-7-taskbar-dynamic-overlay-icons-and-progress-bars.aspx
    http://blogs.msdn.com/e7/archive/2008/09/29/follow-up-starting-launching-and-switching.aspx

     

    For managed codes, we can use Windows API Code Pack to customize the Overlay Icons and Progress Bars.  For some code samples, please check Windows 7 Training Kit for Developers:  http://www.microsoft.com/downloads/details.aspx?familyid=1C333F06-FADB-4D93-9C80-402621C600E7&displaylang=en

     

    It is not recommended to customize the notification tray icons in Windows 7.  But I will consult the product team to check whether we can programmatically display the system tray icon in Windows 7 and keep you informed of any updated messages.    

     

     

    Hope you have a nice day!

     

     

    Best Regards,
    LIngzhi Sun


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Monday, October 5, 2009 3:08 AM
    Moderator
  • Hi sunil,

     

    Based on the feedback from the product team, in Windows 7 it is not possible to change the notification area settings programmatically.  The design goal would be to let the real users determine their own notification settings instead of letting the application developers to set it programmatically. 

     

    Taskbar Overlay Icons and Progress Bars can be better choices in Windows 7 to inform the real users any concept information.

     

     

    Hope you have a great day!

     

     

    Best Regards,
    Lingzhi Sun 


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, October 6, 2009 5:59 AM
    Moderator
  • Icons in the system tray that automatically update themselves constantly lose their notification settings (causing them to revert to the default behavior.)

    Is there a way to flag these applications so that this does not occur?  Applications like Steam, instant messenger clients, anti-virus applications, etc all fall in to this category.
    Sunday, November 29, 2009 9:18 PM
  • How about letting real system administrators make the decisions on showing particular icons like anti-virus and anti-spyware products?  The use of GPO to control and supported in the Professional and Enterprise editions would be good.
    Thursday, March 18, 2010 3:16 PM
  • Hi sunil,

     

    Based on the feedback from the product team, in Windows 7 it is not possible to change the notification area settings programmatically.  The design goal would be to let the real users determine their own notification settings instead of letting the application developers to set it programmatically. 

     

    Taskbar Overlay Icons and Progress Bars can be better choices in Windows 7 to inform the real users any concept information.

     

     

    Hope you have a great day!

     

     

    Best Regards,
    Lingzhi Sun 


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    Let the real users determine their own notification settings is thoughtful. This seems very complicated for beginner. They have to configure the settings whenever they have installed it.
    Saturday, June 5, 2010 10:43 AM
  • The problem as I see it is that application icons go into the system tray and disappear into a black hole when no notifications are active.  The users don't even know they are there!  So they may eventually find the icon and then tell it to display.  And for some icons this must be done repeatedly after every logon.  I would like to propose that the default behavior for application icons and system icons be adjustable to either show icons always or only upon notification.  And that the default be to always show icons.  This way users will see the icons.  So many icons have context menus attached now and for quick, convenient control, they need to be available all the time without the user having to take any action.
    Thursday, June 10, 2010 7:57 PM
  • I have a related question. Is there API to find out what behavior is assigned to certain application icon? Something like SHQueryUserNotificationState. But SHQueryUserNotificationState is irrelevant to taskbar icon notification behaviuor.
    Tuesday, June 29, 2010 5:19 PM