在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 在Windows 11上的Win32应用程序的标题栏上启用背景效果小工具MicaForEveryone源码

在Windows 11上的Win32应用程序的标题栏上启用背景效果小工具MicaForEveryone源码

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:3.36M
  • 下载次数:0
  • 浏览次数:26
  • 发布时间:2024-05-13
  • 实例类别:一般编程问题
  • 发 布 人:chenxiaolan
  • 文件格式:.zip
  • 所需积分:2
 相关标签: windows window win32 wind win

实例介绍

【实例简介】

Mica For Everyone是一款使用DwmSetWindowAttribute和其他方法来自定义Win32应用程序系统背景的工具。它可以在支持的应用程序的非客户区(窗口框架)或背景上应用Mica(或任何其他背景材料),并且其行为可通过GUI和配置文件进行自定义。

【实例截图】

from clipboard


from clipboard

【核心代码】
文件清单
└── MicaForEveryone-b6a055413ab6e312978e7594a5a7671f8df7f977
    ├── Assets
    │   ├── 1.png
    │   ├── 2.png
    │   └── 3.png
    ├── CONTRIBUTING.md
    ├── Installer.iss
    ├── LICENSE
    ├── MicaForEveryone
    │   ├── App.cs
    │   ├── Interfaces
    │   │   ├── IAddClassRuleViewModel.cs
    │   │   ├── IAddProcessRuleViewModel.cs
    │   │   ├── IDialogService.cs
    │   │   ├── ILanguageService.cs
    │   │   ├── IStartupService.cs
    │   │   ├── ITaskSchedulerService.cs
    │   │   ├── IUiSettingsService.cs
    │   │   └── IViewService.cs
    │   ├── MicaForEveryone.csproj
    │   ├── Program.cs
    │   ├── Properties
    │   │   ├── AssemblyInfo.cs
    │   │   ├── launchSettings.json
    │   │   └── PublishProfiles
    │   │       ├── msix.pubxml
    │   │       ├── win-arm64.pubxml
    │   │       └── win-x64.pubxml
    │   ├── Resources
    │   │   ├── app.manifest
    │   │   ├── MicaForEveryone.conf
    │   │   └── MicaForEveryone.ico
    │   ├── Services
    │   │   ├── AppLifeTimeService.cs
    │   │   ├── DialogService.cs
    │   │   ├── LanguageService.cs
    │   │   ├── RegistrySettingsContainer.cs
    │   │   ├── TaskSchedulerService.cs
    │   │   ├── UiSettingsServiceService.cs
    │   │   ├── UninstallService.cs
    │   │   ├── UwpConfigFile.cs
    │   │   ├── UwpSettingsContainer.cs
    │   │   ├── UwpStartupService.cs
    │   │   ├── ViewService.cs
    │   │   ├── Win32ConfigFile.cs
    │   │   └── Win32StartupService.cs
    │   ├── ViewModels
    │   │   ├── AddClassRuleViewModel.cs
    │   │   ├── AddProcessRuleViewModel.cs
    │   │   ├── ContentDialogViewModel.cs
    │   │   ├── GeneralSettingsViewModel.cs
    │   │   ├── RuleSettingsViewModel.cs
    │   │   ├── SettingsViewModel.cs
    │   │   └── TrayIconViewModel.cs
    │   ├── Views
    │   │   ├── AddClassRuleDialog.cs
    │   │   ├── AddProcessRuleDialog.cs
    │   │   ├── ContentDialog.cs
    │   │   ├── ErrorDialog.cs
    │   │   ├── MainWindow.cs
    │   │   └── SettingsWindow.cs
    │   └── Xaml
    │       ├── IDesktopWindowXamlSourceNative2.cs
    │       ├── IInitializeWithWindow.cs
    │       ├── XamlApplication.cs
    │       ├── XamlDialog.cs
    │       └── XamlWindow.cs
    ├── MicaForEveryone.Core
    │   ├── Interfaces
    │   │   ├── IConfigFile.cs
    │   │   ├── IConfigParser.cs
    │   │   ├── IRule.cs
    │   │   ├── IRuleService.cs
    │   │   ├── ISettingsContainer.cs
    │   │   ├── ISettingsService.cs
    │   │   └── IViewService.cs
    │   ├── MicaForEveryone.Core.csproj
    │   ├── Models
    │   │   ├── BackdropType.cs
    │   │   ├── ClassRule.cs
    │   │   ├── CornerPreference.cs
    │   │   ├── GlobalRule.cs
    │   │   ├── ProcessRule.cs
    │   │   ├── RuleChangedEventArgs.cs
    │   │   ├── TargetWindow.cs
    │   │   └── TitlebarColorMode.cs
    │   ├── Services
    │   │   ├── RuleService.cs
    │   │   ├── SettingsService.cs
    │   │   └── XclParserService.cs
    │   └── Ui
    │       ├── Interfaces
    │       │   ├── IFocusableWindow.cs
    │       │   └── IPaneItem.cs
    │       ├── Models
    │       │   ├── GeneralPaneItem.cs
    │       │   ├── PaneItemType.cs
    │       │   └── RulePaneItem.cs
    │       ├── ViewModels
    │       │   ├── IGeneralSettingsViewModel.cs
    │       │   ├── IRuleSettingsViewModel.cs
    │       │   ├── ISettingsViewModel.cs
    │       │   └── ITrayIconViewModel.cs
    │       └── Views
    │           ├── ISettingsView.cs
    │           └── ITrayIconView.cs
    ├── MicaForEveryone.Package
    │   ├── Assets
    │   │   ├── LargeTile.scale-100.png
    │   │   ├── LargeTile.scale-200.png
    │   │   ├── SmallTile.scale-100.png
    │   │   ├── SmallTile.scale-125.png
    │   │   ├── SmallTile.scale-150.png
    │   │   ├── SmallTile.scale-200.png
    │   │   ├── SmallTile.scale-400.png
    │   │   ├── Square150x150Logo.scale-100.png
    │   │   ├── Square150x150Logo.scale-125.png
    │   │   ├── Square150x150Logo.scale-150.png
    │   │   ├── Square150x150Logo.scale-200.png
    │   │   ├── Square150x150Logo.scale-400.png
    │   │   ├── Square44x44Logo.altform-lightunplated_targetsize-16.png
    │   │   ├── Square44x44Logo.altform-lightunplated_targetsize-24.png
    │   │   ├── Square44x44Logo.altform-lightunplated_targetsize-256.png
    │   │   ├── Square44x44Logo.altform-lightunplated_targetsize-32.png
    │   │   ├── Square44x44Logo.altform-lightunplated_targetsize-48.png
    │   │   ├── Square44x44Logo.altform-unplated_targetsize-16.png
    │   │   ├── Square44x44Logo.altform-unplated_targetsize-24.png
    │   │   ├── Square44x44Logo.altform-unplated_targetsize-256.png
    │   │   ├── Square44x44Logo.altform-unplated_targetsize-32.png
    │   │   ├── Square44x44Logo.altform-unplated_targetsize-48.png
    │   │   ├── Square44x44Logo.scale-100.png
    │   │   ├── Square44x44Logo.scale-125.png
    │   │   ├── Square44x44Logo.scale-150.png
    │   │   ├── Square44x44Logo.scale-200.png
    │   │   ├── Square44x44Logo.scale-400.png
    │   │   ├── Square44x44Logo.targetsize-16.png
    │   │   ├── Square44x44Logo.targetsize-24.png
    │   │   ├── Square44x44Logo.targetsize-256.png
    │   │   ├── Square44x44Logo.targetsize-32.png
    │   │   ├── Square44x44Logo.targetsize-48.png
    │   │   ├── StoreLogo.scale-100.png
    │   │   ├── StoreLogo.scale-125.png
    │   │   ├── StoreLogo.scale-150.png
    │   │   ├── StoreLogo.scale-200.png
    │   │   └── StoreLogo.scale-400.png
    │   ├── MicaForEveryone.Package.wapproj
    │   └── Package.appxmanifest
    ├── MicaForEveryone.pfx
    ├── MicaForEveryone.Shared
    │   ├── MicaForEveryone.Shared.csproj
    │   ├── Models
    │   │   ├── BackdropType.cs
    │   │   ├── CornerPreference.cs
    │   │   ├── IFocusableWindow.cs
    │   │   └── TitlebarColorMode.cs
    │   └── Properties
    │       └── AssemblyInfo.cs
    ├── MicaForEveryone.sln
    ├── MicaForEveryone.UI
    │   ├── App.xaml
    │   ├── App.xaml.cs
    │   ├── Brushes
    │   │   └── XamlMicaBrush.cs
    │   ├── ContentDialogView.xaml
    │   ├── ContentDialogView.xaml.cs
    │   ├── Controls
    │   │   ├── Setting.cs
    │   │   ├── SettingsGroup.cs
    │   │   ├── SettingsGroup.xaml
    │   │   └── Setting.xaml
    │   ├── Converters
    │   │   ├── IsEqualConverter.cs
    │   │   ├── VisibleIfFlase.cs
    │   │   └── VisibleIfTrue.cs
    │   ├── MicaForEveryone.UI.csproj
    │   ├── Models
    │   │   └── Contributor.cs
    │   ├── Package.appxmanifest
    │   ├── Properties
    │   │   ├── AssemblyInfo.cs
    │   │   └── Default.rd.xml
    │   ├── Selectors
    │   │   ├── BackdropTypeSelector.cs
    │   │   ├── CornerPreferenceSelector.cs
    │   │   ├── PaneItemTypeSelector.cs
    │   │   └── TitlebarColorSelector.cs
    │   ├── SettingsView.xaml
    │   ├── SettingsView.xaml.cs
    │   ├── Strings
    │   │   ├── ar
    │   │   │   └── Resources.resw
    │   │   ├── az
    │   │   │   └── Resources.resw
    │   │   ├── az-Latn
    │   │   │   └── Resources.resw
    │   │   ├── cs
    │   │   │   └── Resources.resw
    │   │   ├── de
    │   │   │   └── Resources.resw
    │   │   ├── el
    │   │   │   └── Resources.resw
    │   │   ├── en
    │   │   │   └── Resources.resw
    │   │   ├── es
    │   │   │   └── Resources.resw
    │   │   ├── fa
    │   │   │   └── Resources.resw
    │   │   ├── fr
    │   │   │   └── Resources.resw
    │   │   ├── hu
    │   │   │   └── Resources.resw
    │   │   ├── id
    │   │   │   └── Resources.resw
    │   │   ├── it
    │   │   │   └── Resources.resw
    │   │   ├── ja
    │   │   │   └── Resources.resw
    │   │   ├── ko
    │   │   │   └── Resources.resw
    │   │   ├── nl
    │   │   │   └── Resources.resw
    │   │   ├── pl
    │   │   │   └── Resources.resw
    │   │   ├── pt-br
    │   │   │   └── Resources.resw
    │   │   ├── ro
    │   │   │   └── Resources.resw
    │   │   ├── ru
    │   │   │   └── Resources.resw
    │   │   ├── sr-Cyrl
    │   │   │   └── Resources.resw
    │   │   ├── sr-Latn
    │   │   │   └── Resources.resw
    │   │   ├── tr
    │   │   │   └── Resources.resw
    │   │   ├── uk
    │   │   │   └── Resources.resw
    │   │   ├── vi
    │   │   │   └── Resources.resw
    │   │   ├── zh-Hans
    │   │   │   └── Resources.resw
    │   │   └── zh-Hant
    │   │       └── Resources.resw
    │   ├── Styles
    │   │   └── ToggleSwitch.xaml
    │   ├── Themes
    │   │   ├── Colors.xaml
    │   │   ├── Generic.xaml
    │   │   └── SettingsExpanderStyles.xaml
    │   ├── TrayIconView.xaml
    │   ├── TrayIconView.xaml.cs
    │   ├── Triggers
    │   │   ├── GeneralPaneTrigger.cs
    │   │   ├── RulePaneTrigger.cs
    │   │   └── VisibilityTrigger.cs
    │   └── ViewModels
    │       └── IContentDialogViewModel.cs
    ├── MicaForEveryone.Win32
    │   ├── Application.cs
    │   ├── DesktopWindowManager.cs
    │   ├── Dialog.cs
    │   ├── Dispatcher.cs
    │   ├── Events
    │   │   ├── EventManager.cs
    │   │   ├── WindowOpenedEventArgs.cs
    │   │   ├── WindowOpenedEvent.cs
    │   │   ├── WinEventArgs.cs
    │   │   ├── WinEvent.cs
    │   │   └── WinEventType.cs
    │   ├── MicaForEveryone.Win32.csproj
    │   ├── NotifyIcon.cs
    │   ├── PInvoke
    │   │   ├── AccentPolicy.cs
    │   │   ├── AccentState.cs
    │   │   ├── COLORREF.cs
    │   │   ├── DWM_BLURBEHIND.cs
    │   │   ├── DWM_SYSTEMBACKDROP_TYPE.cs
    │   │   ├── DwmWindowAttribute.cs
    │   │   ├── DWM_WINDOW_CORNER_PREFERENCE.cs
    │   │   ├── EventConstants.cs
    │   │   ├── GetAncestorFlag.cs
    │   │   ├── HitTestValues.cs
    │   │   ├── Macros.cs
    │   │   ├── MARGINS.cs
    │   │   ├── MB_RESULT.cs
    │   │   ├── MSG.cs
    │   │   ├── NativeMethods.cs
    │   │   ├── NIF.cs
    │   │   ├── NIM.cs
    │   │   ├── NIN.cs
    │   │   ├── NOTIFYICONDATA.cs
    │   │   ├── NOTIFYICONIDENTIFIER.cs
    │   │   ├── ObjectIdentifiers.cs
    │   │   ├── POINT.cs
    │   │   ├── RECT.cs
    │   │   ├── SetWindowPosFlags.cs
    │   │   ├── ShowWindowCommand.cs
    │   │   ├── ShowWindowCommands.cs
    │   │   ├── WindowClassStyles.cs
    │   │   ├── WindowCompositionAttribute.cs
    │   │   ├── WindowCompositionAttributeData.cs
    │   │   ├── WindowMessage.cs
    │   │   ├── WINDOWPLACEMENT.cs
    │   │   ├── WindowStyles.cs
    │   │   ├── WindowStylesEx.cs
    │   │   ├── WINDOWTHEMEATTRIBUTETYPE.cs
    │   │   ├── WINEVENT.cs
    │   │   ├── WNDCLASSEX.cs
    │   │   ├── WTA_OPTIONS.cs
    │   │   └── WTNCA.cs
    │   ├── Properties
    │   │   └── AssemblyInfo.cs
    │   ├── TrayIconClickEventArgs.cs
    │   ├── WindowClass.cs
    │   ├── Window.cs
    │   └── WndProcEventArgs.cs
    ├── Properties
    │   └── AssemblyVersion.cs
    └── README.md

69 directories, 250 files

实例下载地址

在Windows 11上的Win32应用程序的标题栏上启用背景效果小工具MicaForEveryone源码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警