PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Combobox and ites KeyPress Event
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Combobox and ites KeyPress Event
![]() |
Combobox and ites KeyPress Event |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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/Sampl...yDownFilter.zip -- Sergey Bogdanov [.NET CF MVP, MCSD] http://www.sergeybogdanov.com mohitchawla@mindfiresolutions wrote: > 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 > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

