开发者

Windows Explorer Shell Extension: create file and enter "rename" mode

开发者 https://www.devze.com 2023-03-11 08:03 出处:网络
For a shellextension (UI is similar to \"New/\" context men开发者_如何学JAVAu), I need to create a file, select it and enter \"rename\" mode, so the user can adjust the default name.

For a shell extension (UI is similar to "New/" context men开发者_如何学JAVAu), I need to create a file, select it and enter "rename" mode, so the user can adjust the default name.

Q: How do I enter "rename" mode for a file?


The correct way to do this is to use IShellView::SelectItem with the SVSI_EDIT flag.


Have you tried sending "F2" to the window?

0

精彩评论

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

关注公众号