If you want to register a window class and use a system color
as its background color, you set the hbrBackground member
to the desired color, plus one, cast to an HBRUSH : wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); Windows 95 introduced "system color
Read More...