So, if you understand correctly, you want to read that Windows 7 invokes the "Window Color" aspect of the current theme.
According to MSDN http://msdn.microsoft.com/en-us/magazine/cc163435.aspx you want DwmGetColorizationColor: "retrieves the current color that is used to compose DWM glass. Based on the current color scheme. Changing the setting causes WM_WMCOLORIZATIONCOLORCHANGED notice.
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern void DwmGetColorizationColor(out int pcrColorization, [MarshalAs(UnmanagedType.Bool)]out bool pfOpaqueBlend);
" , DwmGetColorizationColor. , GDI + ARGB , , . , Aero , . WM_DWMCOLORIZATIONCOLORCHANGED, , ."