Keyboard capture problem
I've written a simple application. It consists of main window, menu and a
label. I added event handler to the main form (KeyDown), so when I push a
key on the keyboard, then it's key code should be displayed using a label
(label.Text = e.KeyCode). It works fine with "A", "B" etc. but when I press
left arrow, up arrow etc, the main menu popups and KeyDown event is not
handled.
What should I do ?
PS. I use .NetFramework 2.0 Beta2. In .NetFramework 1.1 there wasn't such
problem.
Emil.
.
Relevant Pages
- keyboard capture
... I added event handler to the main form, ... then it's key code should be displayed using a label ... left arrow, up arrow etc, the main menu popups and KeyDown event is not ... (microsoft.public.dotnet.framework) - keyboard capture
... I added event handler to the main form, ... then it's key code should be displayed using a label ... left arrow, up arrow etc, the main menu popups and KeyDown event is not ... (microsoft.public.dotnet.languages.csharp) - Re: Keyboard capture problem
... I added event handler to the main form, ... then it's key code should be displayed using a label ... > press left arrow, up arrow etc, the main menu popups and KeyDown event is ... (microsoft.public.dotnet.languages.csharp) - Re: Custom Validator validates, but doesnt tell
... ValidationSummary, so if I show that label, this would be an exception ... validation summary and format the text the same way the validation ... into the validatorsummary control and making your server-side code much more ... "Handles" clause on the event handler declaration. ... (microsoft.public.dotnet.framework.aspnet) - Re: Events and GUI question:
... > UpdateEventis being raised, and the event handler is being called, ... > be redrawn immediately. ... > changes a property of the label, and then sets the label as ... > background thread can't mess with controls on the screen. ... (microsoft.public.dotnet.languages.csharp) |
|