ComboBox Keypress events

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
 
G

Guest

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
 
G

Guest

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
 
G

Guest

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.
 
S

Sergey Bogdanov

Well, it won't work all the same for ComboBoxes. Though with SP3 it
works for controls like TextBox.
 
G

Guest

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.
 
S

Sergey Bogdanov

Yes, it works with the previous version either. Just curious, what error
do you have with v1.3?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top