如果您的Wince设备没有硬件键盘或者没有ESC键,同时又需要有校准界面的话,你会对校准界面上关于“ESC”或者“按键”之类的提示信息反感。怎么办呢?最简单的方法,只需要修改你的系统注册表键值,并重新开机就可以不再显示那些不搭调的提示。 注册表的位置: [HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/KEYBD] "Status"=dword:0 //="1+2+8" Exclude "4" The following table shows the additional values that the HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/KEYBD/Status subkey can have. Identifier Value Description KBDI_KEYBOARD_PRESENT 0x0001 Indicates whether or not the system has keyboard hardware. KBDI_KEYBOARD_ENABLED 0x0002 Indicates whether or not the keyboard hardware is enabled. This bit is assumed to be set but can be modified with EnableHardwareKeyboard.
KBDI_KEYBOARD_ENTER_ESC 0x0004 Indicates whether or not the keyboard hardware has ENTER and ESC keys. KBDI_KEYBOARD_ALPHA_NUM 0x0008 Indicates whether or not the keyboard hardware has alphanumeric keys.