HBRUSH hbr = CDialogBar::OnCtlColor(pDC, pWnd, nCtlColor);

// TODO: Change any attributes of the DC here
if(pWnd->GetDlgCtrlID()==IDC_EDITQUERY)
{
pDC->SetTextColor(RGB(0xff,0,0));
pDC->SetBkMode(TRANSPARENT);
return m_brushText;//m_brushText.CreateSolidBrush(RGB(0x8,0x3f,0x00));
}
// TODO: Return a different brush if the default is not desired
return hbr;