I'm currently in the development and testing phase of my gadget. I've noticed that for some reason, whenever my gadget is closed the settings I've saved are deleted. I'm sure because I've monitored 'Settings.ini'. Why is this? Will it happen when my user restarts their computer, and how can I avoid it?
Bit of a late answer, but when you press X on a gadget it removes the settings for it.
If you simply restart sidebar.exe all of the settings are preserved (This is a quick way of imitating a user restarting their computer)