I'm not sure how to do this without creating 50 different brushes for all possible background colors. Using SetBkColor or SetDCBrushColor doesn't seem to have the same effect as creating a brush with that color.