I’m trying to host a visual unmanaged plugin into a winforms application, but cannot seem to type certain characters into edit boxes. Namely open bracket and single quote. It is interpreted as a tab. Plugin works fine when called from a Delphi host.
Thanks, logged as bugs://70492: Wrong arrow keys processing in plugins
Thank you for the report, there is indeed a bug with processing mnemonics, and those keys are treated like arrow keys, as a workaround please try following:
Add this code in a window that holds hostPanel
protected override bool ProcessMnemonic(char charCode)
{
var code = (int) charCode;
if ((code >= 37) && (code <= 40))
return false;
return base.ProcessMnemonic(charCode);
}
thanks