Code:
wcl.hbrBackground = CreateSolidBrush(RGB(255,0,0));
You should have a line somewhere with hbrBackground in it. Just change it to look like the above.