//{{AFX_INCLUDES() //}}AFX_INCLUDES #if !defined(AFX_RULEPAGE_H__B5FCDEA2_B89C_11D3_8478_0000E8363DC4__INCLUDED_) #define AFX_RULEPAGE_H__B5FCDEA2_B89C_11D3_8478_0000E8363DC4__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // RulePage.h : header file // ///////////////////////////////////////////////////////////////////////////// // CRulePage dialog class CRulePage : public CPropertyPage { DECLARE_DYNCREATE(CRulePage) // Co nstruction public: void DrawTree(); CKBEditorsDoc * m_Doc; void SeeDoc(CKBEditorsDoc*Doc); CRulePage(); ~CRulePage(); // Dialog Data //{{AFX_DATA(CRulePage) enum { IDD = IDD_RULEDLG }; CComboBox m_RuleList; CComboBox m_Cluster; CTreeCtrl m_CptTree; CString m_Str; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CRulePage) public: virtual BOOL OnSetActive(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: CString RemoveSpace(CString strCond); CString ReplaceNow(CString str); BOOL ValidateDate(CString str); CString ValidateDateFun(CString str); BOOL ValidateAction(CString strAction,CString& retStr); BOOL ValidateCondition(CString strCond,CString& retStr); void FillCluster(); // Generated message map functions //{{AFX_MSG(CRulePage) afx_msg void OnDblclkCpttree(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnAddaction(); afx_msg void OnSaverule(); afx_msg void OnNewrule(); afx_msg void OnFind(); afx_msg void OnFunction(); afx_msg void OnSelchangeClustercombo(); afx_msg void OnDeleteRule(); afx_msg void OnSelchangeRuleid(); afx_msg void OnDelCluster(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RULEPAGE_H__B5FCDEA2_B89C_11D3_8478_0000E8363DC4__INCLUDED_)