Capture KeyPress from ToolWindow

Docking/MDI for Windows Forms Forum

Posted 16 years ago by Miriam Kuruvilla
Version: 2.0.0100

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?


Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.