That's now you say you knew. :)
There is only one place where such things are stored - the registry. You can try to debug you program - you will see the MFC source code (CWinApp, CDocManager) and this place in the registry. I think, it will be HKLM/Software/Provider/App
lication/s
omething.
I think there is a way to override CDocManager methods:
http://www.codeguru.com/cpp/w-d/dislog/commondialogs/print.php/c1967