COLORREF cr = RGB(64,128,196); // the original COLORREF BYTE red = GetRValue(cr); // the red value in the range 0-255 COLOR16 red16 = red * 256; // multiply to convert it to the range of COLOR16
convert COLORREF to COLOR16
最新推荐文章于 2019-04-20 19:04:18 发布