HBRUSH CSilverEdit::CtlColor(CDC* pDC, UINT nCtlColor)
{
// TODO: Change any attributes of the DC here
// TODO: Return a non-NULL brush if the parent's handler should not be called
CBrush br(RGB(0, 0, 0));
pDC->SetBkColor(RGB(0, 0, 0));
pDC->SetTextColor(RGB(0, 255, 0));
//pDC->SetBkMode(TRANSPARENT);
return HBRUSH(br);
}
I tried, but failed to changed the selected string color.