xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

xp好还是vista好

After a number of readers have written in about how to remove the dotted black outline that sometimes appears when you make a file selection, I realized that I needed to write this up for everybody’s benefit, since there actually is a solution.

在许多读者写完关于如何删除选择文件时有时会出现的黑色虚线轮廓的文章后,我意识到我需要为所有人的利益写下来,因为实际上有解决方案。

In case you aren’t sure what we’re talking about, if you select an icon with the keyboard’s arrow keys and then click somewhere else, you’ll see a dotted line show up around the icon:

如果您不确定我们在说什么,请选择带有键盘箭头键的图标,然后单击其他位置,您将在该图标周围看到一条虚线:

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

The same thing will sometimes happen in other areas, like tree controls. Note that this picture is from the original author over at Neowin.

有时在其他地方也会发生相同的事情,例如树控件。 请注意,此图片来自Neowin的原始作者。

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

To solve this problem, we’ll use a small utility called the Universal Focus Rectangle Remover, which unfortunately only works on 32-bit Windows (XP or Vista).

为了解决此问题,我们将使用一个名为Universal Focus Rectangle Remover的小型实用程序,该实用程序仅在32位Windows(XP或Vista)上运行。

Installation

安装

You’ll want to download and extract the zipped file, and then copy the RemoveFocusRect.dll file into the System32 directory, usually located at the following path:

您将要下载并解压缩该压缩文件,然后将RemoveFocusRect.dll文件复制到System32目录中,该目录通常位于以下路径:

C:\Windows\System32

C:\ Windows \ System32

You’ll get a message saying that access is denied, but you should be able to copy the file after clicking through the prompts.

您将收到一条消息,指出访问被拒绝,但是在单击提示后,您应该能够复制文件。

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

Next you’ll need to open up an administrator mode command prompt, and then run the following command to register the DLL file with Windows:

接下来,您需要打开管理员模式命令提示符,然后运行以下命令在Windows中注册DLL文件:

regsvr32 RemoveFocusRect.dll

regsvr32 RemoveFocusRect.dll

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

You should get a message saying that the registration succeeded. If you get an error, there’s a good chance you are running on 64-bit and it just won’t work. If so, make sure to delete the file that you copied.

您应该收到一条消息,说明注册成功。 如果您遇到错误,则很有可能您正在64位上运行,并且将无法正常工作。 如果是这样,请确保删除您复制的文件。

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

Once you reboot the computer, you’ll see that the rectangle is now gone:

重新启动计算机后,您将看到矩形消失了:

xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形
xp好还是vista好_在Windows XP或Vista中删除难看的焦点矩形

Uninstalling

解除安装

Open up an administrator mode command prompt like before, and type in the following command to uninstall the component from the registry (very important). Note: You’ll have to be in the \Windows\system32 directory for it to work, but that’s the default path for an administrator mode command prompt anyway.

像以前一样打开管理员模式命令提示符,然后键入以下命令以从注册表中卸载组件(非常重要)。 注意:您必须位于\ Windows \ system32目录中,它才能正常工作,但这仍然是管理员模式命令提示符的默认路径。

regsvr32 /u RemoveFocusRect.dll

regsvr32 / u RemoveFocusRect.dll

You should get a message saying that it has been successfully removed. Now you can delete the file simply with this command:

您应该收到一条消息,说明已成功删除它。 现在,您可以使用以下命令简单地删除文件:

del RemoveFocusRect.dll

删除RemoveFocusRect.dll

You’ll need to restart your computer to remove the tweak.

您需要重新启动计算机以删除该调整。

Download Focus Rectangle Remover from neowin.net

从neowin.net下载Focus Rectangle Remover

Download Focus Rectangle Remover (Mirror Copy) from howtogeek.com

从howtogeek.com下载Focus Rectangle Remover(Mirror Copy)

翻译自: https://www.howtogeek.com/howto/windows-vista/remove-that-unsightly-focus-rectangle-in-windows-xp-or-vista/

xp好还是vista好