I have used this and I have had some problems. The biggest problem is that I cannot double click on a file and have it start the default application for the file.
If I try to rename a file, the delete key will not work to delete characters of the existing filename. I have to use backspace. If I type the letter 'n' while renaming, the rename operations ceases!
I haven't spent much time debugging, but they are very frustrating problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If on my foem I have a button using a N shortcut (like "&New…") AND the form has its keypreview property set to True, then the N key is not available in shellview, like when renaming !
That's really weird. (I tested it in windows 7-64bits)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have used this and I have had some problems. The biggest problem is that I cannot double click on a file and have it start the default application for the file.
If I try to rename a file, the delete key will not work to delete characters of the existing filename. I have to use backspace. If I type the letter 'n' while renaming, the rename operations ceases!
I haven't spent much time debugging, but they are very frustrating problems.
Hi Chris,
The easiest way to achieve what you're wanting to achieve is by adding
a DoubleClick handler to the ShellView:
private void shellView_DoubleClick(object sender, EventArgs e)
{
if (shellView.SelectedItems.Length == 1)
Process.Start(shellView.SelectedItems[0].FileSystemPath);
}
I will take a look at the delete/'n' key problem for you now.
Cheers,
Steven
I've committed a fix that should enable the Delete key when renaming a file. Please let me know if this fixes the problem for you.
I was however, unable to reproduce the problem with the 'n' key. Can you confirm that this bug occurs for you with the example ShellExplorer project?
Cheers,
Steven
I think I found the 'n' key problem
If on my foem I have a button using a N shortcut (like "&New…") AND the form has its keypreview property set to True, then the N key is not available in shellview, like when renaming !
That's really weird. (I tested it in windows 7-64bits)