I have made a little connect 4 game. the board is 7 x 6 which i just used 42childwindows in a single array. the problem is that i cannot seem to set the initial color of the child windows to yellow. When a spot is click i have no problem redrawing the child window with the background yellow and the coin colored red or yellow. Any suggestion is appreciated. Thanks in advance.

Things i have tried:
(inside child window procedure)

WM_CREATE:
SetClassLong(hwndChild, GCL_HBRBACKGROUND, (LONG) CreateSolidBrush(RGB(255,255,0));
return 0;


also i tried creating a yellow brush and setting the child's window class background to the yellow brush;


WNDCLASS wc;
.
.
.
wc.hbrgrnd = (HBRUSH) yellow_brush;