KeyPress

C

Catalin Lungu

Hi,
How can I desactivate a key of PDA. Is a function key (F24) of WindowsCE. In
the KeyDown event of a control if e.keydata == keys.F24 I switch e.Handled =
true but without success.

It's for an application where I need that users can't touch other keys that
them need.

Thank you,
C.
 
P

Paul G. Tobey [eMVP]

You can't prevent the keys from being sent. At most, you can ignore the
keys that you don't want to have do something in your application and, if
they might be hot keys to activate other applications or perform other
operations, you might be able to prevent those applications from coming to
the front or kill them to prevent them from performing whatever process the
key fires.

Paul T.
 

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