BTW, I've just found a real example of what I originally wanted to do. Under Windows, you can adjust the behaviour of how files are displayed. For example, there is a checkbox to make Windows show hidden files in folders. If you click on that checkbox, a message window pops up, asking for confirmation. Here you can see it with images:
http://www.sevenforums.com/tutorials/394-hidden-files-folders-show-hide.html
It seems that my original idea is not that a bad GUI behaviour...