#if !defined(AFX_PROJECTSDLG_H__3A607184_25BE_11D4_964F_00C0F02C4B69__INCLUDED_) #define AFX_PROJECTSDLG_H__3A607184_25BE_11D4_964F_00C0F02C4B69__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ProjectsDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CProjectsDlg dialog #include "gzcombo.h" #include "gzrset.h" class CProjectsDlg : public CDialog { // Construction public: bool m_bReadOnly; void Security(); void EnableEntry(bool bEnable); CString * m_pstrSelectedProject; void SetPassbackString(CString* pstrPB); void FillList(); CString m_strSelectedProject; CProjectsDlg(CWnd* pParent = NULL); // standard constructor ~CProjectsDlg(); CSpApp* m_pApp; GZRset* rs; bool m_bAddMode; //Save fields bool SaveField(CButton *ckControl,CString fldname); bool SaveField(CEdit* edControl,CString fldname,bool AllowEmpty); bool UpdateModified(bool IsNew); //------------------------------- // Dialog Data //{{AFX_DATA(CProjectsDlg) enum { IDD = IDD_PROJECTS }; CStatic m_lblList; CgzCombo m_cbList; CEdit m_edName; CEdit m_edDescription; CButton m_btnDone; CButton m_btnDelete; CButton m_btnAdd; CButton m_ckActive; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CProjectsDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CProjectsDlg) afx_msg void OnActive(); afx_msg void OnAdd(); afx_msg void OnDelete(); afx_msg void OnDone(); afx_msg void OnKillfocusProjectDescription(); afx_msg void OnKillfocusProjectName(); afx_msg void OnCloseupProjectsCombo(); virtual BOOL OnInitDialog(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PROJECTSDLG_H__3A607184_25BE_11D4_964F_00C0F02C4B69__INCLUDED_)