HBRUSH preConclusion::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
if (nCtlColor == CTLCOLOR_STATIC || nCtlColor == CTLCOLOR_DLG)
{
pDC->SetBkMode(TRANSPARENT);
pDC->SetTextColor(RGB(11, 0, 132));
HBRUSH B = CreateSolidBrush(RGB(204, 204, 170));
return (HBRUSH)B;
}
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
return hbr;
}
04-22
3577
03-17
1018
11-10
1万+