B bill Oct 13, 2004 #1 I hook up event handlers to KeyUp/KeyDown/KeyPress to a modal window. Nothing works. It works for sure on the main form. Thanks.
I hook up event handlers to KeyUp/KeyDown/KeyPress to a modal window. Nothing works. It works for sure on the main form. Thanks.
S Stoitcho Goutsev \(100\) [C# MVP] Oct 16, 2004 #2 Hi bill, ..>I hook up event handlers to KeyUp/KeyDown/KeyPress to a modal window. Nothing works. It works for sure on the main form. Click to expand... What don't work. Is it only for particular keys or they are not called for any key. Did you set form's KeyPreview property to *true*? I wrote a simple test and it was working fine for modal and modalles forms.
Hi bill, ..>I hook up event handlers to KeyUp/KeyDown/KeyPress to a modal window. Nothing works. It works for sure on the main form. Click to expand... What don't work. Is it only for particular keys or they are not called for any key. Did you set form's KeyPreview property to *true*? I wrote a simple test and it was working fine for modal and modalles forms.