当前位置: 代码迷 >> WinCE >> Windows CE 设备仿真程序模拟器,设备仿真程序外观 XML 架构onClick值怎么设定
  详细解决方案

Windows CE 设备仿真程序模拟器,设备仿真程序外观 XML 架构onClick值怎么设定

热度:313   发布时间:2016-04-28 11:51:48.0
Windows CE 设备仿真程序模拟器,设备仿真程序外观 XML 架构onClick值如何设定?
DeviceEmulator.exe
各位大神好,
我现在定制了一个模拟器NK.NB0,和运行的软件xx.EXE。程序有对按键进行反应。
<?xml version="1.0" encoding="ISO-8859-1"?>

<skin>
    <view
        titleBar ="My Emulator skin"
        displayPosX="10"
        displayPosY="149"
        displayWidth="272"
        displayHeight="224"
        displayDepth="8"
        mappingImage="map.bmp"
        normalImage="up.bmp"
        downImage="down.bmp"
  
        <button
            toolTip="This is my ToolTip."
            onClick="  DOWN:Key_LeftShift
                       Key_Z
                       0x00000015
                       UP: Key_LeftShift
                       Key_A"

            onPressAndHold="Key_B"
            mappingColor="0x00FF00"
        />
    </view>
</skin>

onClick值如何设定?
onClick:指定按下按钮时要传递给引擎的键盘按键操作。使用与原始键盘扫描代码对应的十六进制或整数值。
不知道怎么去查找这个值啊?

thanku!!


------解决思路----------------------
LZ,你这是在定制模拟器、还是定制你的应用?
------解决思路----------------------
太高深了。。。没见过。
  相关解决方案