SendKeys cannot run inside this application

Originally Posted 28 July 2017, 1:42 am EST

  • Originally Posted 28 July 2017, 1:42 am EST


    We're receiving this error running a WinForms module that is started by a WPF application.

    "SendKeys cannot run inside this application because the application is not handling Windows messages. Either change the application to handle messages, or use the SendKeys.SendWait method."

    It appears the TAB key is firing off SendKeys.Send() calls which don't work in this scenario for the Editor_KeyDown event. Is there a recommended workaround?

    We are running an older version of the .NET 4 controls - 4.0.20121.61252.

  • Reply

    Adding more tags!
  • Marked as Answer


    Hi Shiv,

    I am unable to replicate the error using the latest build of TrueDBGrid at my end. I have created a WPF application and hosted WinForms C1TrueDBGrid control in the same. However, no such problem occurs on pressing the Tab key. Please check the behavior with the latest build:

    If the issue still exists, please provide a stripped down application demonstrating the same. I would like to investigate this further.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels