In my SDI application, when it comes up, I want to paint the background

.

I tried using SetBkColor (RGB(....)) in WM_PAINT handler but didn't seem to work. Any clue how can I get this done?