KeyPress pipeline

Oct 7 2004 10:06 PM
Hi all, I'm a bit new to C#, this is my first post here. I'd like to get the KeyPress events in a simple C# WinForm. I used the wizard to make a simple class inheriting from System.Windows.Forms.Form - np. Added a KeyPress handeler, works well - I get the events. But if I add a tab control I stop getting the events in the main window. I want to make sure certain keys allways reach the main window and not any of the controls in it. Any Ideas? Thanks

Answers (4)