// TODO: Change any attributes of the DC here
if(pWnd->GetDlgCtrlID()==IDC_CLOCK)//这是tab的ID号
{
pDC->SetBkColor(RGB(246,246,197));//背景色
pDC->SetTextColor(RGB(0,0,0));
hbr = CreateSolidBrush(RGB(246,246,197));
}
// TODO: Return a different brush if the default is not desired
return hbr;
}
别忘了给分啊!