Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

Combobox and ites KeyPress Event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mohitchawla@mindfiresolutions - 17 Jan 2006 13:05 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.