Windows Mobile Developer Center > Smart Device Development Forums > Windows Marketplace for Mobile > Smart device - recently used menu icons on homescreen - changes to 'no association' icon - question
Ask a questionAsk a question
 

AnswerSmart device - recently used menu icons on homescreen - changes to 'no association' icon - question

  • Tuesday, November 03, 2009 3:54 PMMacfinch Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hey all.

    I've noticed in the 6.1.4 smart device emultor that the home screen top menu bar shows the most recently used program icons, great. But when I uninstall my app on the emulator, the icon on the menu bar is changed to the default windows icon (little windows icon on a blank sheet of paper) as there's no longer an application assoiated to it. Hence is doesn't get removed along with the app.

    Is this something I have to worry about / remove by code after my app is uninstalled? Or is it something unavoidable and just part of the Windows CE OS?

    Thanks guys,
    -M
    •  

Answers

  • Tuesday, November 03, 2009 7:07 PMM FrancisMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Macfinch,
    The shell MRU list is still keeping a reference to your program, even though it is uninstalled. The shell can't find the program icon, (because its gone) and is displaying a default image. This is an artifact of the MRU list and there is really nothing you can do in your un-installation to prevent this. This 'ghost' icon will disappear after it is 'pushed off' the MRU list as the use starts new programs.
     
    Thanks,
    Mike

All Replies

  • Tuesday, November 03, 2009 7:07 PMM FrancisMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Macfinch,
    The shell MRU list is still keeping a reference to your program, even though it is uninstalled. The shell can't find the program icon, (because its gone) and is displaying a default image. This is an artifact of the MRU list and there is really nothing you can do in your un-installation to prevent this. This 'ghost' icon will disappear after it is 'pushed off' the MRU list as the use starts new programs.
     
    Thanks,
    Mike
  • Wednesday, November 04, 2009 2:02 AMMacfinch Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Francis.

    thanks for your reply, very helpful.

    all the best
    -M