DWMCOLORS property (System)
Description
Retrieves the current color-set used for Desktop Window Manager (DWM) non-client frame composition rendering.
Property Value
This property is an @fm-delimited array containing DWM color values. It is structured like so:
<1> ColorizationColor
<2> ColorizationAfterglow
<3> ColorizationColorBalance
<4> ColorizationAfterglowBalance
<5> ColorizationBlurBalance
<6> AccentColor
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
Note these colors are in “ARGB” format, so the most significant byte is the “Alpha” value.
Equates for this property can be found in the PS_SYSTEM_EQUATES insert record.
Example
$Insert PS_System_Equates $Insert Logical // Get the DSM Colors and extract the ColorizationColor value (i.e. the frame color) DWMColorSet = Get_Property( "SYSTEM", "DWMCOLORS" ) ColorizationColor = DWMColorSet<PS_DWM_POS_COLORIZATIONCOLOR$> // Extract the RGB from the ARGB value rgbVal = bitAnd( ColorizationColor, 0x00FFFFFF )
See Also
N/A