somebody help me how to change dialog backgound color in tabcontrol? : 
BOOL CTabControlDlg::OnEraseBkgnd(CDC* pDC)
{

    CRect rect;
    GetClientRect(rect);
    pDC->FillSolidRect(rect, RGB(255, 255, 255));
    return CDialog::OnEraseBkgnd(pDC);
}


CTabControlDlg is dialog in the tabcontrol. 