ComboBox经过子类化后,输入不再在ComboBox表现出来?该怎么解决

ComboBox经过子类化后,输入不再在ComboBox表现出来?
//ComboBox style:Drop-Down,可在Edit中输入,可是经过以下子类化后输入在ComboBox中没有响应,如何让ComboBox还有显示?
HBRUSH CComboBoxML::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
if (nCtlColor == CTLCOLOR_EDIT)
{
//Edit control
#if 1
if (m_edit.GetSafeHwnd() == NULL)
m_edit.SubclassWindow(pWnd->GetSafeHwnd());
#endif
}

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

// TODO: Change any attributes of the DC here

// TODO: Return a different brush if the default is not desired
return hbr;
}

void CComboBoxML::OnDestroy()
{
if (m_edit.GetSafeHwnd() != NULL)
m_edit.UnsubclassWindow();
CComboBox::OnDestroy();

// TODO: Add your message handler code here
}

------解决方案--------------------
要看m_edit对应的类是怎么处理的。
------解决方案--------------------
那你子类化的目的是什么?
------解决方案--------------------
m_edit是什么类型?
------解决方案--------------------
按照楼主:在VC6 VS2005 VS2008测试都没有问题,
肯定是其它原因?
仔细查看代码