使用DWMAPI的代码可以在C#中实现像下面的代码:
相关的编程代码使用示例:
http://www.netfxfactory.org/blogs/articles/archive/2007/03/30/dwm-api-et-milcore.aspx
http://www.pinvoke.net/default.aspx/dwmapi/DwmpSetColorization.html?diff=y
http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/99240c0d-0b05-49ae-81da-62f2992aecf0
http://msdn.microsoft.com/zh-cn/magazine/cc163435.aspx
http://weblogs.asp.net/kennykerr/archive/2006/08/10/Windows-Vista-for-Developers-_1320_-Part-3-_1320_-The-Desktop-Window-Manager.aspx
http://code.msdn.microsoft.com/VistaBridge
http://search.codesoso.com/
http://dwmnet.codeplex.com/
http://aerowizard.codeplex.com/
http://dwmwrapper.codeplex.com/
http://www.jpreece.com/projects/csharp-windows-aero-style-wizard-control/
[DllImport("dwmapi.dll", EntryPoint = "#104", CallingConvention.Winapi)]
[static extern int DwmpSetColorization (uint ColorizationColor, bool ColorizationOpaqueBlend, uint Opacity);
http://msdn.microsoft.com/en-us/library/aa969540(v=VS.85).aspx