How can I convert an uint value to an ARGB System.Drawing.Color? I haven’t found this on the internet yet…
I have just found methods for ARGB to uint.
My uint value came from:
uint aeroColor;
Dwmapi.DwmGetColorizationColor( out aeroColor, out opaque );
What does the
uintrepresent? In general, you can use this:Using the appropriate overload. However, this expects an
int, not auint. If you have auintwith the same memory layout (as in your case) then the following should work: