It doesn't sto开发者_开发百科re it in the registry or a file.
It seems like it must persist the default path using the "Common Item Dialog", but how do can I find the actual path knowing this? It seems like the info is supposed to be private to the app...(?)
Oddly, I don't even see msdn info about how to access the "Common Item Dialog" from dotnet, so I really need to go through all the interop hassle myself?
Then it's unclear how I'd obtain the GUID that Snipping Tool is using, so I can do things like: GUID guid; pfd->IdentifyDialog(&guid);
The Snipping Tool in my copy of Win 7 uses the "Pictures" String Value in: HKEY_CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
You can change a lot of "default" locations under this Key and get them out from under the deeply buried locations that Microsoft provides.
精彩评论