开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜