You can get a list of the desktop icons and their locations. Then when your app exits the icons get placed back in their starting positions. You will have to google for some code though.