永发信息网

error C2065: 'm_Prop1' : undeclared identifier error C2065: 'm_Prop2' : undeclar

答案:3  悬赏:70  手机版
解决时间 2021-01-24 15:13
  • 提问者网友:聂風
  • 2021-01-24 10:12
// PropSheet.cpp : implementation file
//
#include "stdafx.h"
#include "Prop.h"
#include "PropSheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPropSheet
IMPLEMENT_DYNAMIC(CPropSheet, CPropertySheet)
CPropSheet::CPropSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
AddPage(&m_Prop1);
AddPage(&m_Prop2);
AddPage(&m_Prop3);
}
CPropSheet::CPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
AddPage(&m_Prop1);
AddPage(&m_Prop2);
AddPage(&m_Prop3);
}
CPropSheet::~CPropSheet()
{
}

BEGIN_MESSAGE_MAP(CPropSheet, CPropertySheet)
//{{AFX_MSG_MAP(CPropSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropSheet message handlers

急求!编译不通过怎么回事???
最佳答案
  • 五星知识达人网友:行雁书
  • 2021-01-24 10:48
你看看头文件中定义了这个没有
全部回答
  • 1楼网友:神也偏爱
  • 2021-01-24 12:49
你好! ? 如有疑问,请追问。
  • 2楼网友:逃夭
  • 2021-01-24 11:30
你看看头文件中定义了这个没有
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯