PDA

View Full Version : Confirm Shortcut Delete


b_avery@yahoo.c
28th May 2004, 18:52
I need to be able to display "Confirm Shortcut Delete" dialogue when a user tries to delete an Icon that the installation has placed on the Desktop.

I've seen other application icons do this, can we do it?

Anders
28th May 2004, 19:18
do you mean a simple messagebox or a page?

Coppermill
28th May 2004, 19:28
It's a message box, which informs the user that they are deleting an icon and not the application, and gives a link to the Add/Remove section of the Control Panel if they want to delete the application

zimsms
28th May 2004, 19:33
The full version Outlook is a good example of this, however, the Outlook icon is actually a hidden control panel plugin or com object....not a real icon.

Anders
28th May 2004, 21:22
i just copied a lot of shortcuts from my startmenu on to my desktop, it shows that dialog for most of them but not all, regmon shows explorer looking for the target (exe not lnk) in HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache but some of the shortcuts with its target listed there did NOT show the dialog (just the normal one)

...so maybe the best thing u can do is name the shortcut with the same name u use in add/remove programs