OnButtonManualsend::OnButtonManualsend(CWnd* pParent /*=NULL*/)
下面的问题该如何解决,属于什么原因引起的?求助!!!!
OnButtonManualsend::OnButtonManualsend(CWnd* pParent /*=NULL*/)
: CDialog(OnButtonManualsend::IDD, pParent)
错误代码:E:\SCommTest\OnButtonManualsend.cpp(19) : error C2039: 'IDD' : is not a member of 'OnButtonManualsend'
e:\scommtest\onbuttonmanualsend.h(13) : see declaration of 'OnButtonManualsend'
E:\SCommTest\OnButtonManualsend.cpp(19) : error C2065: 'IDD' : undeclared identifier
源代码:
OnButtonManualsend.h
#if !defined(AFX_ONBUTTONMANUALSEND_H__72663E81_A298_44B3_8874_713AAED9494B__INCLUDED_)
#define AFX_ONBUTTONMANUALSEND_H__72663E81_A298_44B3_8874_713AAED9494B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OnButtonManualsend.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// OnButtonManualsend dialog
class OnButtonManualsend : public CDialog
{
// Construction
public:
OnButtonManualsend(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(OnButtonManualsend)
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(OnButtonManualsend)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(OnButtonManualsend)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ONBUTTONMANUALSEND_H__72663E81_A298_44B3_8874_713AAED9494B__INCLUDED_)