4
Answers

KeyPress pipeline

oren_weizman

oren_weizman

20y
1.7k
1
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)