Specifying A Key Sequence To Launch An Application - Intermec CN2A User Manual

Intermec cn2a: user guide
Hide thumbs Also See for CN2A:
Table of Contents

Advertisement

Appendix C — Remapping the CN2A Keypad

Specifying a Key Sequence to Launch an Application

"FkeyMeta23" = hex:5B,00,C1,00
[HKEY_LOCAL_MACHINE\Software\microsoft\shell\keys\40C1]
"Application"=REG_SZ: "MyApplication.exe"
"Path"=REG_SZ:"\Programs\MyGames"
"Flags"=REG_SZ:"map=Jupiter,lives=3,difficulty=5"
142
Windows CE .NET offers built-in application launching
capabilities, which can be invoked with the sequence 5B 00 Cx
00, where x is 1-F for application 1-15.
As shown in the sample numeric keypad registry settings on page
143, pressing the Green
You need to add a registry setting that tells the operating system
which application to launch when you press this key sequence.
For example:
where:
Application contains the name of the application to launch.
Path
contains the path to the application.
Flags
contains application-specific parameters to pass to
ShellExecuteEx through the lpParameters member
of the SHELLEXECUTEINFO structure.
Do not read or write directly to these registry subkeys. Instead,
use SHGetAppKeyAssoc and SHSetAppKeyWndAssoc to set the
navigational control keys. The following table shows the values
for the virtual key codes that correspond to the navigational
control keys.
Virtual Key Codes for Navigational Keys
VK Code
VK_APP1
VK_APP2
VK_APP3
VK_APP4
VK_APP5
VK_APP6
key and 1 launches APP 1:
Value
0xC1
0xC2
0xC3
0xC4
0xC5
0xC6
CN2A Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents