Error CDialog "not a class or struct" in MFC/VS2010 -
i'm new person in mfc.
i have question follow:
i have project, when build application, successful , application run ok however, when open file adjusthorparameterdlg
(this file in project), vs2010 notice error cdialog
"not class or struct" :
class cadjusthorparameterdlg : public cdialog { public: cstring m_unitname; //cstring getunitname(); //void setunitname( cstring unitname ); int m_requestedcenterpoint_time; int m_seledhmagni; cadjusthorparameterdlg(cwnd* pparent = null); // 標準のコンストラクタ cadjusthorparameterdlg( cgraphsbase* pgraphs, cuintarray* magselector, cstring unitofxaxle, int initialhmagni, int initialdisppoint, cwnd* pparent = null ); ~cadjusthorparameterdlg(); //{{afx_data(cadjusthorparameterdlg) enum { idd = idd_adjhorizontalpara }; cedit m_requestedcenterpointedit; clistbox m_hmagnilistbox; int m_hmagnilistboxindex; .....
anyone tell me why?
assuming code compiles successfully, can ignore this. intellisense (the feature looks errors while edit code) won't recognise definitions have been made in files included in stdafx.h
Comments
Post a Comment