Desktop Functions: Smart Device Functions:
|
DwmSetColorizationParameters (dwmapi)
C# Signature:
[DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)] Alternative Managed API:Do you know one? Please contribute it! Notes:just copy the sample and start the method and run it Please note that this is an undocumented API and as such is not supported by Microsoft and can be changed or removed in the future without futher notice. Tips & Tricks:A more reliable approach to set the colorization parameters would be to implement your own method that tries to set each parameter directly in the Windows registry and sends the WM_DWMCOLORIZATIONCOLORCHANGED message to notify all top-level windows about the change, with proper exception handling in the case a value cannot be set. The colorization parameters can be found under the key "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM". Please note that these are also undocumented and as such can also be changed or removed in the future. Sample Code:C# Sample
[DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)] Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|