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?
精彩评论