CMyDialog(CWnd* pParent = NULL);CMyDialog(CView* pParent = NULL);//不通过
seai 2008-11-10 04:45:23 //声明:
CMyDialog(CWnd* pParent = NULL);CMyDialog(CView* pParent);//通过编译。
CMyDialog(CWnd* pParent = NULL);CMyDialog(CView* pParent = NULL);//不通过编译。
//定义都是这样的:
CMyDialog::CMyDialog(CWnd* pParent /*=NULL*/)
: CDialog(CMyDialog::IDD, pParent)
{
}
CMyDialog::CMyDialog(CView* pParent /*=NULL*/)
: CDialog(CMyDialog::IDD, pParent)
{
}
没明白其中的原因,望高手指点一二