You have to capture some WM_CTLCOLOR* messages:
The SetBkColor sets the background (here RED) of your static text, if you don't have any, you don't have to use it.
the return value is a handel to a brush (casted to BOOL) for a brush that we created. this will give a nice blue background
for a bit more info on WM_CTLCOLORDLG from msdn
If an application processes this message, it must return a handle to a brush. The system uses the brush to paint the background of the dialog box.