减慢鼠标速度 [英] Slowing mouse speed

查看:144
本文介绍了减慢鼠标速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于如何在wpf应用程序中降低鼠标速度的任何想法. Google没有提出任何建议.应该用Win32的本机事件来解决这个问题.

解决方案

此处

SPI_GETMOUSESPEED = 112十进制
SPI_SETMOUSESPEED = 113个十进制

OnAppStart->获取系统当前鼠标速度
OnMouseEnter->设置为慢速
OnMouseLeave->设置为system
OnAppShutdown->设置为系统

编辑
其他参考

Any ideas on how I can slow down the mouse speed in a wpf application. Google didn't come up with anything. Should this be dealt with native events from Win32.

解决方案

here

SPI_GETMOUSESPEED = 112 decimal
SPI_SETMOUSESPEED = 113 decimal
source

OnAppStart -> get system current mouse speed
OnMouseEnter -> set to slow
OnMouseLeave -> set to system
OnAppShutdown -> set to system

EDIT
Additional Reference

这篇关于减慢鼠标速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆