Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何知道在 Windows Mobile 应用程序中单击了哪个功能(菜单项、按钮等)?
我需要创建一个全局监听用户点击的应用程序,就像 Windows 全局挂钩所做的那样,我需要知道用户单击的每个应用程序的哪个部分/控件。
蒂亚!
Thw Windows CE 操作系统本身根本不支持鼠标挂钩。它支持键盘挂钩(非官方,但从 1.0 开始就存在)。获取所有鼠标事件的唯一方法是编写自定义触摸屏驱动程序,这可不是一件小事,尤其是当您没有有关硬件的信息时。也许如果您让我们更好地了解您为什么需要这种能力,我们可以提供替代方案。