Menu

Problems with ShellView

2009-06-02
2013-04-30
  • Chris Dunaway

    Chris Dunaway - 2009-06-02

    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.

     
    • Steven J. Kirk

      Steven J. Kirk - 2009-06-04

      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

       
    • Steven J. Kirk

      Steven J. Kirk - 2009-06-04

      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

       
  • Guillaume Jay

    Guillaume Jay - 2010-03-27

    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)

     

Log in to post a comment.