IEmobile7支持鼠标激活链接(Windows Compact 7)

    windows compact 7平台下,IEmobile7默认是不支持鼠标点击页面链接的,在Virtual CEPC没有这个问题。
 
 
   

When you use a web browser on a device that is running Windows Embedded Compact 7, a left mouse button click may not have any effect inside the browser window. This problem occurs when you open a webpage with a web browser and click a hyperlink on the page. Instead of going to the associated webpage, the browser does not respond. In this situation, the only way to go to a website is to click the address bar, manually enter a URL, and press Enter.

This problem has not been observed on Virtual CEPC.

 

C ause

By default, the Windows Embedded Compact 7 browser is set up for touch devices.

R esolution

To address this issue, apply one of the following resolutions:

  • Set the BSP_NOTOUCH environment variable in the OS image
  • Map mouse events to touch gestures by using the registry
S et the BSP_NOTOUCH environment variable in the OS Image

You can set an environment variable for your OS image by using the Platform Builder integrated development environment (IDE), the command line, or a batch file. The following procedure describes how to accomplish this task by using a batch file. In this case, you edit the batch file for your BSP, which is located at %_WINCEROOT%\platform\<BSP>\<BSP>.bat, where <BSP> is the name of your BSP. For example, the batch file for the eBox BSP that is included with Windows Embedded Compact 7 is %_WINCEROOT%\platform\ebox3300\ebox3300.bat.

 To set the BSP_NOTOUCH environment variable by using a batch file

  1. In Windows Explorer, open the batch file for your BSP with a text editor.
  2. In the batch file, on a new line, type BSP_NOTOUCH=1.
  3. Save and close the batch file.
  4. Rebuild the OS.
M ap mouse events to touch gestures by using the registry

To map mouse events to touch gestures, you need to set the registry key [HKEY_LOCAL_MACHINE\SYSTEM\GWE\UserInput] to PromoteMouseInputToTouchInput=dword:1. You can either follow the instructions below or watch this video to learn how to edit the registry in Windows Embedded Compact 7.

To map mouse events to touch gestures by using the registry

  1. In Visual Studio, open your OS design.
  2. In Solution Explorer, expand the OS design project node, and then expand the Parameter Files directory.
  3. Under Parameter Files, double-click OSDesign.reg.
  4. In the OSDesign.reg pane, right-click HKEY_LOCAL_MACHINE, click New, and then click Key.
  5. Type GWE and press Enter.
  6. Right-click GWE, click New, and then click Key.
  7. Type UserInput and press Enter.
  8. Right-click UserInput, click New, and then click DWORD Value.
  9. Type PromoteMouseInputToTouchInput and press Enter.
  10. In the Properties pane for the PromoteMouseInputToTouchInput registry value, for Data, type 1.
    Save and then build the OS design project.
<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(213) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值