Simple question about hardware button

  • Thread starter Thread starter intelinside
  • Start date Start date
I

intelinside

Hi to all,

my device are CE 4.2 and have an external keyboard.
My simple question are:

a simple way to 'disable' HOME button ?

I tread to implement a class that derive from MessageWindow (i see
above this solution) but i dont want to 'trap' home button, but simple
'disable'.
In my device in fact the home button cause lost focus of my application
and i have blocked the touch screen (this device have a barcode reader
and isn't necessary to user to use touch screen).

Help me please !!!

Thank you.
 
Hi,

You can trap the button in your application and give the focus of your
application in the handler. Or check this function : UnregisterFunc1
for unregistering a Hardware button.


BR


Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



intelinside a écrit :
 
Thanx for answer but,

i search about UnregisterFunc1 but only for c#.
Have you a little example for UnregisterFunc1 that disable HOME key (in
vb) ?

Thank you!

Fabien ha scritto:
 
Back
Top