You have to call SetBkColor.
Code:
SetBkColor((HDC)wParam, bkcolor);
Hope it will help you