vba自定义菜单和菜单栏_如何在使用自定义强调色时使Windows 10的开始菜单和操作中心保持黑色...

vba自定义菜单和菜单栏

vba自定义菜单和菜单栏

sab_top

Annoyed that Windows 10 gives you only one setting to change the color of the taskbar, Start menu, and Action Center all at once? There’s no way to change each color individually, but we’ve got a quick Registry hack that will get you part of the way there.

Windows 10仅提供一种设置来一次更改任务栏,“开始”菜单和“操作中心”的颜色,这让您感到烦恼吗? 没有办法单独更改每种颜色,但是我们有一个快速的Registry hack,可以帮助您融入其中。

For whatever reason, the Windows 10 Personalization options provide a single option to use an accent color on your taskbar, Start menu, and Action Center all at once instead of letting you choose a color for each. You can apply the color to the title bar of active windows as a separate option and, with another quick Registry hack, even change the color of inactive windows if you want to. But if you’d like keep a black background on your Start menu and Action Center while still using your accent color for your taskbar and window title bars, then read on.

无论出于何种原因, Windows 10个性化选项都提供了一个选项,可以一次在任务栏,“开始”菜单和“操作中心”上使用强调色,而不必为每种颜色选择一种颜色。 您可以将颜色作为单独的选项应用到活动窗口的标题栏,并且可以通过另一种快速的注册表技巧,甚至根据需要更改非活动窗口的颜色 。 但是,如果您想在“开始”菜单和“操作中心”上保留黑色背景,同时仍将重点色用于任务栏和窗口标题栏,请继续阅读。

通过编辑注册表使“开始”菜单和操作中心背景保持黑色 (Keep the Start Menu and Action Center Backgrounds Black by Editing the Registry)

To keep your Start Menu and Action Center backgrounds black, you just need to make an adjustment to one setting in the Windows Registry. Before you get started with the edit, though, go ahead and set your personalization options. Head to Settings > Personalization > Colors. Pick an accent color and turn on at least the “Show color on Start, taskbar, and action center” option.

要使“开始菜单”和“操作中心”背景保持黑色,您只需要对Windows注册表中的一项设置进行调整。 不过,在开始编辑之前,请继续并设置个性化选项。 转到设置>个性化>颜色。 选择一种强调色,并至少打开“在“开始”,任务栏和操作中心上显示颜色”选项。

sab_a

With that done, you’re ready to head into the Registry.

完成此操作后,您就可以进入注册表了。

Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.

标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息 。 并在进行更改之前一定要备份注册表 (和您的计算机 !)。

Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and give it permission to make changes to your PC.

通过单击开始并键入“ regedit”来打开注册表编辑器。 按Enter键打开注册表编辑器,并授予其对PC进行更改的权限。

sab_1

In the Registry Editor, use the left sidebar to navigate to the following key:

在注册表编辑器中,使用左侧边栏导航至以下键:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
sab_2

On the right side, double-click the ColorPrevalence value to open its properties window.

在右侧,双击ColorPrevalence值以打开其属性窗口。

sab_3

In the value’s properties window, change the value to 3 in the “Value data” box and then click “OK.”

在值的属性窗口中,在“值数据”框中将值更改为3,然后单击“确定”。

sab_4

And you can now close Registry Editor. You won’t need to restart your computer or anything. The changes should be immediate, so just pop open your Start menu or Action Center to make sure the backgrounds are black.

现在,您可以关闭注册表编辑器。 您无需重新启动计算机或任何其他操作。 更改应该是立即的,因此只需弹出打开“开始”菜单或“操作中心”以确保背景为黑色即可。

You’ll want to be careful about changing Personalization options after you make this setting. You won’t break anything, but you may reset that Registry value and have to change it again. It works like this:

进行此设置后,您在更改“个性化”选项时要格外小心。 您不会破坏任何内容,但是可以重置该注册表值,然后再次进行更改。 它是这样的:

  • You can change your accent color any time you want. Doing so will not affect the Registry setting.

    您可以随时更改您的装饰色。 这样做不会影响注册表设置。
  • You can turn on or off the “Show color on title bar” setting without affecting the Registry setting.

    您可以打开或关闭“在标题栏上显示颜色”设置,而不会影响注册表设置。
  • If you turn off the “Show color on Start, taskbar, and action center” setting, the ColorPrevalence value will get set to 0 and all three items will be black. If you turn the option back on, the ColorPrevalence value gets set to 1 and all three items will feature your accent color. You’ll have to go back and set the value to 3 in the Registry again to get the black backgrounds back on your Start menu and Action Center.

    如果关闭“在“开始”,任务栏和操作中心上显示颜色”设置,则ColorPrevalence值将设置为0,并且所有三个项目均为黑色。 如果重新打开该选项,则ColorPrevalence值将设置为1,并且所有三个项目都将具有您的强调色。 您必须返回并再次在注册表中将该值设置为3,才能在“开始”菜单和“操作中心”上重新获得黑色背景。

Of course, this also means that if you don’t like the setting you’ve made in the Registry, you don’t have to return to the Registry to reset it. You only have to go change that option in your Personalization settings.

当然,这也意味着,如果您不喜欢在注册表中进行的设置,则不必返回注册表即可将其重置。 您只需要在“个性化设置”中更改该选项。

下载我们的一键式注册表黑客 (Download Our One-Click Registry Hacks)

sab_5

If you don’t feel like diving into the Registry yourself, we’ve created a couple of registry hacks you can use. The “Make Start and Action Center Black” hack changes the ColorPrevalence value to 3. The “Restore Start and Action Center Backgrounds” hack sets the value back to 1. Both hacks are included in the following ZIP file. Double-click the one you want to use and click through the prompts. When you’ve applied the hack you want, restart your computer or toggle one of the color settings to force the change.

如果您不想自己进入注册表,我们已经创建了两个可以使用的注册表黑客。 “使启动和操作中心为黑色” hack将ColorPrevalence值更改为3。“恢复启动和操作中心背景”为hack的值设置为1。这两个hack都包含在以下ZIP文件中。 双击您要使用的一个,然后单击提示。 应用所需的技巧后,请重新启动计算机或切换颜色设置之一以强制进行更改。

Start and Action Center Background Hacks

启动和操作中心背景黑客

These hacks are really just the Personalize  subkey, stripped down to the ColorPrevalence value we talked about in the previous section and then exported to a .REG file. Running either of the hacks sets that value to the appropriate number.  And if you enjoy fiddling with the Registry, it’s worth taking the time to learn how to make your own Registry hacks.

这些技巧实际上只是Personalize子项,被简化为上一节中讨论的ColorPrevalence值,然后导出到.REG文件。 运行任何一个hack都会将该值设置为适当的数字。 而且,如果您喜欢使用注册表,则值得花时间学习如何制作自己的注册表黑客

翻译自: https://www.howtogeek.com/270777/how-to-keep-windows-10s-start-menu-and-action-center-black-while-using-a-custom-accent-color/

vba自定义菜单和菜单栏

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值