#if !defined(AFX_FUNDLG_H__9F638EAD_B8AD_4883_AB57_0CA6EDA01F99__INCLUDED_) #define AFX_FUNDLG_H__9F638EAD_B8AD_4883_AB57_0CA6EDA01F99__INCLUDED_ #include "General.h" // Added by ClassView #include "KBEditorsDoc.h" // Added by ClassView #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // FunDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CFunDlg dialog class CFunDlg : public CPropertyPage { DECLARE_DYNCREATE(CFunDlg) // Construction public: CKBEditorsDoc * m_Doc; CStringArray OutputPropList; CStringArray TypeList; CPropList InputPropList; void DrawTree(); void FillCluster(); void SeeDoc(CKBEditorsDoc*Doc); BOOL CheckPropValType(CConcept *inputconcept); BOOL Search(CComboBox *pmyComboBox,CString str); CFunDlg(); ~CFunDlg(); private: //FunCluster list of functions for current selected cluster //Function current selected function CObArray *FunCluster; CFunction *Function ; // Dialog Data //{{AFX_DATA(CFunDlg) enum { IDD = IDD_FunDlg }; CComboBox m_FunList; CComboBox m_FunCluster; CTreeCtrl m_CptTree; CString m_StrBody; CString m_StrOutput; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CFunDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CFunDlg) afx_msg void OnDblclkCpttree(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSaveFunction(); afx_msg void OnNewFun(); afx_msg void OnDeleteFun(); afx_msg void OnDeleteCluster(); afx_msg void OnAddBody(); afx_msg void OnCompileBody(); afx_msg void OnSelchangeFunClusterCOMBO(); afx_msg void OnSelchangeFunIDCOMBO(); afx_msg void OnEditchangeFunIDCOMBO(); afx_msg void OnEditchangeFunClusterCOMBO(); virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FUNDLG_H__9F638EAD_B8AD_4883_AB57_0CA6EDA01F99__INCLUDED_)