// TODO: Change any attributes of the DC here
if(nCtlColor == CTLCOLOR_STATIC)
{
CFont font;
font.CreatePointFont(100, "华文行楷");
pDC->SelectObject(&font);
pDC->SetBkColor(RGB(0, 255, 0));
pDC->SetTextColor(RGB(255, 0, 0));
}
// TODO: Return a different brush if the default is not desired
return hbr;
}
// TODO: Change any attributes of the DC here
if(pWnd->GetDlgCtrlID() == IDC_STATIC)
{
CFont font;
font.CreatePointFont(100, "华文行楷");
pDC->SelectObject(&font);
}
// TODO: Return a different brush if the default is not desired
return hbr;
}