Knowledgebase

status_loader

Prevent default action

Question / Problem

I don't want a file or folder to be opened on double-click. How do I prevent this?

Answer / Solution

Implement the BeforeInvokeCommandOnSelected event and in the eventhandler set e.InvocationProcessed = true to intercept the default action.

Another option is to implement the FolderChanging event of an attached ShellControlConnector.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form