A different approach is to change registry to point the hardware buttons to
your application. In my app.inf file, I reset the following registry keys:
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
Works like a champ on a Symbol 2800. Don't know what happens on a different
device.
HI,
How can i disable those 4 device shortcut keys on my fullscreen application?
Thanks!