do model problem?
CDlgDetectionUserSupplied dlguser;
if(dlguser.DoModel()==IDOK)
{
---
--
}
When i run this prgram get this error
Compiling...
DetectionProbEsti.cpp
C:\jzhu\PopPost\DetectionProbEsti.cpp(90) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
C:\jzhu\PopPost\DetectionProbEsti.cpp(94) : error C2039: 'DoModel' : is not a member of 'CDlgDetectionUserSupplied'
c:\jzhu\poppost\dlgdetectionusersupplied.h(13) : see declaration of 'CDlgDetectionUserSupplied'
Error executing cl.exe.
//the DlgDetectionUserSupplied.h file
class CDlgDetectionUserSupplied : public CDialog
{
// Construction
public:
CDlgDetectionUserSupplied(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgDetectionUserSupplied)
enum { IDD = IDD_DIALOG_DETECTION_USER_SUPPLIED };
CComboBox m_comboSpecies;
CComboBox m_comboSample;
CString m_strFileName;
double m_dDp;
double m_dCoeffi;
double m_dTa;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgDetectionUserSupplied)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgDetectionUserSupplied)
// 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_DLGDETECTIONUSERSUPPLIED_H__CB106C5B_4222_44C7_90D1_7A591EA95D1A__INCLUDED_)
what is wrong with this dialiog. thanks.
JP

