如何在Windows中更改鼠标指针的大小和颜色

00_lead_image_changing_mouse_pointer

“Where the heck is my mouse pointer?” If you’ve asked yourself that question too many times, you can change the size and color of your mouse pointer to make it easier to find on the screen.

“我的鼠标到底在哪里?” 如果您多次问自己一个问题,则可以更改鼠标指针的大小和颜色,以使其在屏幕上更容易找到。

You can use either PC Settings or the Control Panel to change the mouse pointer size and color, and we’ll show you both ways. The PC Settings method can be used in Windows 10 and 8, and the Control Panel method can be used in Windows 10, 8, and 7.

您可以使用“ PC设置”或“控制面板”来更改鼠标指针的大小和颜色,我们将向您展示两种方式。 PC设置方法可在Windows 10和8中使用,控制面板方法可在Windows 10、8和7中使用。

在Windows 8和10中使用PC设置 (Using PC Settings in Windows 8 and 10)

Open PC Settings by clicking the Settings icon on the Start menu. You can also type “settings” into the Start menu’s Search box.

单击“开始”菜单上的“设置”图标,打开“ PC设置”。 您也可以在“开始”菜单的“搜索”框中键入“设置”。

01_clicking_settings_on_start_menu

On the Settings dialog box, click “Ease of Access”.

在“设置”对话框中,单击“轻松访问”。

02_clicking_ease_of_access

Click “Mouse” in the list of options on the left.

单击左侧选项列表中的“鼠标”。

03_clicking_mouse_on_settings_screen

There are three different sizes you can choose from for your mouse pointer. Click on one to select it.

您可以为鼠标指针选择三种不同的大小。 单击一个将其选中。

04_changing_pointer_size

The size of your mouse immediately changes. The default color of your mouse pointer is white. You can choose black (middle) or inverted colors (right). The inverted colors option changes the mouse pointer color depending on the background color so it’ll stand out no matter where it is.

鼠标的大小立即更改。 鼠标指针的默认颜色是白色。 您可以选择黑色(中间)或反色(右侧)。 反转颜色选项会根据背景颜色更改鼠标指针的颜色,因此无论它在哪里,它都将脱颖而出。

05_selecting_pointer_color

Again, the pointer should immediately change and you can go about your work.

同样,指针应立即更改,您可以继续工作。

在Windows 7、8和10中使用控制面板 (Using Control Panel in Windows 7, 8, and 10)

To change the size of the mouse pointer using the Control Panel in Windows 7, 8, or 10, search for control panel either on the Start menu or on the Start screen and click on the Control Panel in the search results.

要在Windows 7、8或10中使用“控制面板”更改鼠标指针的大小,请在“开始”菜单或“开始”屏幕上搜索控制面板,然后在搜索结果中单击“控制面板”。

08_opening_control_panel

On the Control Panel window, click “Ease of Access”.

在“控制面板”窗口上,单击“轻松访问”。

09_clicking_ease_of_access_in_control_panel

Then, under Ease of Access Center, click the “Change how your mouse works” link.

然后,在“轻松访问中心”下,单击“更改鼠标的工作方式”链接。

10_clicking_change_how_your_mouse_works

Select an option for the size and color you want for the mouse pointer in the “Change the color and size of mouse pointers” box. Then, click “OK”.

在“更改鼠标指针的颜色和大小”框中为鼠标指针的大小和颜色选择一个选项。 然后,单击“确定”。

11_selecting_mouse_pointer_in_control_panel

You are returned to the Ease of Access Center screen on the Control Panel window. To close the Control Panel, click the “X” in the upper-right corner.

您将返回到“控制面板”窗口上的“轻松访问中心”屏幕。 要关闭控制面板,请单击右上角的“ X”。

12_closing_control_panel

There are additional Ease of Access features, such as a magnifier, high contrast, and keyboard settings, that can make using your computer easier as well.

还有其他“轻松访问”功能 ,例如放大镜,高对比度和键盘设置,这些功能也可以使您使用计算机变得更加容易。

翻译自: https://www.howtogeek.com/273878/how-to-change-the-size-and-color-of-the-mouse-pointer-in-windows/

第01个小程序:随鼠标移动而变色的背景(VaryTheBackground.cs) 程序运行时,当鼠标指针靠近窗口心程度不同,客户区的背景颜色也不同。 using System; using System.Windows; using System.Windows.Input; using System.Windows.Media; namespace Chapter02 { public class VaryTheBackground : Window { SolidColorBrush brush = new SolidColorBrush(Colors.Black); //创建画刷 。SolidColorBrush是最简单的画刷。 [STAThread] public static void Main() { Application app = new Application(); app.Run(new VaryTheBackground()); } public VaryTheBackground() { Title = "Vary the Background"; Width = 384; Height = 384; Background = brush; } //鼠标移动事件 protected override void OnMouseMove(MouseEventArgs args) { //窗口呈现尺寸-边框和标题栏的尺寸 double width = ActualWidth - 2 * SystemParameters.ResizeFrameVerticalBorderWidth; double height = ActualHeight - 2 * SystemParameters.ResizeFrameHorizontalBorderHeight - SystemParameters.CaptionHeight; Point ptMouse = args.GetPosition(this); //获取鼠标位置 Point ptCenter = new Point(width / 2, height / 2); //窗口心 Vector vectMouse = ptMouse - ptCenter; //向量。向:心指向鼠标位置;量:鼠标位置与心距离 double angle = Math.Atan2(vectMouse.Y, vectMouse.X); Vector vectEllipse = new Vector(width/ 2 * Math.Cos(angle), height / 2 * Math.Sin(angle)); Byte byLevel = (byte)(255 * (1 - Math.Min(1, vectMouse.Length / vectEllipse.Length))); Color clr = brush.Color; clr.R = clr.G = clr.B = byLevel; brush.Color = clr; } } }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值