I wanted to catch escape key pressed event for DateTimePicker, so I
hooked DateTimePicker.KeyUp in my application. But this event is not
firing when I press escape key and it is firing if I press any other
key.
I tried same code in test project and DateTimePicker.KeyUp is firing
when I press escape key. Any idea why it is not firing
DateTimePicker.KeyUp event when I press escape key?
Thanks!
AlexS - 18 Jun 2007 03:32 GMT
Did you check if you filter Escape key in DefaultWindowProc or similar
method in your form?
>I wanted to catch escape key pressed event for DateTimePicker, so I
> hooked DateTimePicker.KeyUp in my application. But this event is not
[quoted text clipped - 6 lines]
>
> Thanks!
gargamita@gmail.com - 20 Jun 2007 10:28 GMT
check if have you correctly defined the event.. see that you "handles
datetimepicker.keyup" is added properly