1 #if !defined(AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_)
2 #define AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_
6 #endif // _MSC_VER > 1000
7 // ConditionPage.h : header file
10 //#include "ResizablePage.h"
13 #include "Condition.h"
17 class CLogic_editorDoc
;
20 /////////////////////////////////////////////////////////////////////////////
21 // CConditionPage dialog
23 class CConditionPage
: public CPropertyPage
25 DECLARE_DYNCREATE(CConditionPage
)
34 BOOL
checkNodeValidity();
36 void addCondition( CLogic_editorDoc
*pDoc
, CCondition
* condition
);
39 //{{AFX_DATA(CConditionPage)
40 enum { IDD
= IDD_PAGE_CONDITIONS
};
41 CNumEdit m_ctrlComparand
;
45 CString m_sSubCondName
;
46 CString m_sConditionName
;
51 CCondition
* m_pSelectedCondition
;
52 CConditionNode
* m_pSelectedConditionNode
;
56 // ClassWizard generate virtual function overrides
57 //{{AFX_VIRTUAL(CConditionPage)
59 virtual BOOL
OnSetActive();
61 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
66 // Generated message map functions
67 //{{AFX_MSG(CConditionPage)
68 virtual BOOL
OnInitDialog();
69 afx_msg
void OnSelchangeComboNodeType();
70 afx_msg
void OnButtonAddCondition();
71 afx_msg
void OnButtonAddNode();
72 afx_msg
void OnButtonCondApply();
73 afx_msg
void OnButtonDeleteCondition();
74 afx_msg
void OnButtonNodeApply();
75 afx_msg
void OnButtonDeleteNode();
81 //{{AFX_INSERT_LOCATION}}
82 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
84 #endif // !defined(AFX_CONDITIONPAGE_H__34B1DBCA_B747_4A2C_80F0_5DDC65B71D39__INCLUDED_)