I am using win ce.net with vs.net 2003
the keypress event of combobox is not fire when the combobox has focus.
Can u suggest me ways to trap the keypress, with or without using the
keypress event.
Thanks in advance,
mohit
Adam Coulter - 17 Jan 2006 14:37 GMT
What key are you pressing? Directional/arrow keys will not fire the
KeyPress but will fire the KeyDown and KeyUp events, try using the
KeyDown to trap the key press.
Sergey Bogdanov - 20 Jan 2006 13:56 GMT
You may try to use OpenNETCF.Windows.Forms.IMessageFilter to trap keys.
Here is an example how to trap Up/Down for a TextBox:
http://www.sergeybogdanov.com/Samples/TextBoxKeyDownFilter.zip
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
> I am using win ce.net with vs.net 2003
>
[quoted text clipped - 5 lines]
> Thanks in advance,
> mohit