ComboBox Keypress events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all. I was wondering if anyone knew if there was any way to capture
KeyPress events from Combo Boxes in the .NET Compact Framework? Seemingly the
standard behaviour means you not only can't tell which key's been pressed,
but can't even tell that a key has been pressed at all - the event simply
doesn't fire. I've tried the extended combo box from OpenNetCF.org, but that
had the same behaviour. Anyone got any suggestions for how to trap that event?

Thanks
Ben
 
Thanks Sergey. I had spotted that thread, but I was trying to avoid using
third-party stuff like OpenNetCF - I'd been hoping that MS hadn't blocked
keypress events and I was doing something wrong. Ah well, just have to bite
the bullet I guess. ;-)

Ben
 
You don't need to sue OpenNETCF. Just make sure that you have latest service
pack for CF installed (SP3).
The key events have been enable for controls starting form SP1
 
Really? I'm confused in that case - I'm almost certain I'm alredy using SP3.
I can't find anywhere to verify that VS2003 thinks it's using SP3 of the CF
(normal framework yes, but not the CF), or on the device, but the version
that I downloaded is certainly SP3, Add/Remove programs on my PC only lists
SP3 as installed, not any other versions, and I haven't worked with the CF
previously so ithere shouldn't be a previously installed version on here
unless it came with VS2003.
 
Well, it won't work all the same for ComboBoxes. Though with SP3 it
works for controls like TextBox.
 
Ah. Yeah, I've got it working for TextBoxes, but I need it for ComboBoxes as
well. Oh well, back to OpenNetCF then. Although since they seem to have a
problem with installing the latest version (1.3) at the moment, I hope it all
still works with the previous version.
 
Yes, it works with the previous version either. Just curious, what error
do you have with v1.3?
 
Back
Top