error C2065: 'CAboutDlg' : undeclared identifier,该怎么处理

error C2065: 'CAboutDlg' : undeclared identifier
程序工具栏上的“关于……”菜单项(ID号为IDD_ABOUTBOX)不能用(灰色),于是,我在CAppview里添加了成员函数以处理该菜单上的COMMAND消息:
void CAppView::OnAboutbox() 
{
CAboutDlg about;
about.DoModal();
}
结果出现下面这样的问题,疑惑~~
error C2065: 'CAboutDlg' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'about'
error C2065: 'about' : undeclared identifier
error C2228: left of '.DoModal' must have class/struct/union type
初学VC,望多指教


------解决方案--------------------
你在CAppView.cpp中看看能不能找到CAboutDlg的声明

或者在工作区搜索CAboutDlg,看看能不能找到。

找到CAboutDlg之后确定声明它的头文件被包含在CAppView.cpp中。