开发者

How does the Snipping Tool in win7 persist it's "Save As" path?

开发者 https://www.devze.com 2023-01-09 06:21 出处:网络
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 s

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消