Hi all,
I'm trying to separate a COLORREF into the three basic color amounts. I know the structure of COLORREF is 4 bytes set like this:
0x00bbggrr
I need to extract the blue, green and red values into separate variables. Does anyone know how to do this?
Thanks!
I'm trying to separate a COLORREF into the three basic color amounts. I know the structure of COLORREF is 4 bytes set like this:
0x00bbggrr
I need to extract the blue, green and red values into separate variables. Does anyone know how to do this?
Thanks!