Capture KeyPress from ToolWindow

Docking/MDI for Windows Forms Forum

Posted 10 years ago by Miriam Kuruvilla
Version: 2.0.0100
Avatar

I have a ToolWindow with a control. The Control is docked inside the Toolwindow with DockStyle.Fill. I implemented the ToolWindow_KeyPress event. However even when the ToolWindow has focus if I press a key on the keyboard, the event handler does not get invoked.

How do I capture the KeyPress event for a toolwindow?

Thanks.
Miriam

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Miriam,

I don't believe we have anything that would intercept KeyPress events in our code. Remember that KeyPress won't catch keys like ctrl+something. You need KeyDown for those.

If you think there is a problem, then please build a simple sample project that shows it and email that over. But again, I don't think there's anything in our code that would do this.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.