Chinaunix首页 | 论坛 | 博客
  • 博客访问: 430543
  • 博文数量: 56
  • 博客积分: 2262
  • 博客等级: 大尉
  • 技术积分: 711
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-08 20:04
文章分类

全部博文(56)

文章存档

2013年(1)

2012年(9)

2011年(10)

2010年(7)

2009年(7)

2008年(22)

我的朋友

分类: 嵌入式

2012-04-28 16:03:13

    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.

 

Cause

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

Resolution

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
  • Set 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\\.bat, where 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.
    Map 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 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.
    阅读(1125) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~