在vc中的CMainFrame中的OnCreate函数中加入这些代码
if (!m_wndRebar.Create(this))      
{
TRACE0("Failed to create combobox\n");
return -1;      // fail to create
}
   if (!m_wndAddress.Create(CBS_DROPDOWN | WS_CHILD, 
     CRect(0, 0, 200, 120), this, ID_COMBO))  //创建一下拉组合框
{
TRACE0("Failed to create combobox\n");
return -1;      // fail to create
}
     m_wndRebar.AddBar(&m_wndAddress,"地址");
其中变量的定义为CReBar      m_wndRebar;  
CComboBoxEx m_wndAddress;
为什么会出现未定义变量ID_COMBO的错误?
请各位大侠救助一下!!!!!
谢谢!