{
HBRUSH hbr = CWnd::OnCtlColor(pDC, pWnd, nCtlColor);
switch(nCtlColor)
{
case CTLCOLOR_STATIC:
{
if(pWnd->GetDlgCtrlID() == m_Label.GetDlgCtrlID())
{
//pDC->SetTextColor(RGB(255, 0, 0));
pDC->SetBkMode(TRANSPARENT);
return (HBRUSH)GetStockObject(NULL_BRUSH);;
}
}
}
// TODO: Return a different brush if the default is not desired
return hbr;
}