This can be closed. Sorry for interruption. Wonderful library, thanks.
Maybe I missed something. I have set "FocusedControl = myControl". But sometimes, the KeyDown event of a subcontrol of "myControl" doesn't reponse, but “ESC” works. Sometimes, KeyDown event responses, but ESC doesn't work. And it's not like I can choose to work one aspect or another, it's more like one aspect accidently works, and I cannot figure out why. Would you please help me out? Thanks.
I think I''ve found it out. Ignore this please. Thanks.
I wrote a lister plugin using C#, implemented some keydown event for the UserControl, or other controls inside the UserControl. How can I make the lister window reponse to these shortcuts? With the following code snippet in UserControl, I created a standalone WinForm, contained the UserControl, and it works. But not inside the lister. protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.I) { // do something here } return base.ProcessCmdKey(ref msg, keyData);...
You need to override method ExecuteCommand in your plugin. Something like this: public override ExecResult ExecuteCommand(TcWindow mainWin, ref string remoteName, string command) { if (String.IsNullOrEmpty(command)) return ExecResult.Yourself; if (command.StartsWith("OPENTABS ")) { string param = command.Substring(9); // do what you need return ExecResult.OK; } // else if ... other commands... }
How to make Total Commander execute a command?
I had a mix of when I had problems. As of 1.4 its simply great.
There is a problem with ListerSampleWpf. Trying to run a plugin causes the error "FileNotFoundException: Could not load file or assembly 'file:///E:\Projects\TCdotNetInterface-1.4\TcPluginSamples\ListerSampleWpf\bin\Debug\ListerSampleWpf.resources.dll' or one of its dependencies."
There is a problem with ListerSampleWpf. Trying to run a plugin causes the error "FileNotFoundException: Could not load file or assembly 'file:///E:\Projects\TCdotNetInterface-1.4\TcPluginSamples\ListerSampleWpf\bin\Debug\ListerSampleWpf.resources.dll' or one of its dependencies."
I't took me a while to get the code to compile (1.4), even with setting paths correctly. What I have, Had: 1. Configuration _zipArchiver in XML must be zipArchiver (yes it's in the Help, but easy to oversee the additional underscore), Better comment something out with <!-- --> 2. Build Errors within VS IDE: 3>EXEC : error : ildasm.exe has failed disassembling C:\Documents\Code\Eigenes\TC\TcPluginSamples\TcPluginCore\WfxWrapper.dll! 3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4935,5):...
WrapperBuilder fails to load assembly if its name contains dot-sign
Documentation v. 1.4
Sample updates v. 1.4
TcPluginInterface v 1.4 update
Sample updates v. 1.3
Core code updates v. 1.3
Documentation v. 1.3
Documentation updates for version 1.2
Documentation updates for version 1.2
Core code updates for version 1.2
Sample updates for version 1.2
Documentation updated for version 1.2
Information for QuickSearch plugins added
QuickSearch plugin sample added
Support for QuickSearch plugins added
Reload TcPluginSamples
Remove TcPluginSamples
TcPluginCore organized
Documentation organized
TcPluginSamples folder added
Delete .suo file
Documentation added
TcPluginCore added
Documentation added