Files
ayanova7/archive/ayanova 1.9.4 CE final release db schema 171/sp/ModelCatsDlg.h

73 lines
1.9 KiB
C++

#if !defined(AFX_MODELCATSDLG_H__19D53F22_27FA_11D4_964F_00C0F02C4B69__INCLUDED_)
#define AFX_MODELCATSDLG_H__19D53F22_27FA_11D4_964F_00C0F02C4B69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ModelCatsDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CModelCatsDlg dialog
#include "gzcombo.h"
#include "gzrset.h"
class CModelCatsDlg : public CDialog
{
// Construction
public:
bool m_bReadOnly;
void Security();
~CModelCatsDlg();
void FillFields();
void FillList();
bool m_bAddMode;
CString m_strSelectedCategory;
void SetReturnString(CString* strReturn);
CModelCatsDlg(CWnd* pParent = NULL); // standard constructor
bool SaveField(CEdit* edControl,CString fldname,bool AllowEmpty);
CSpApp* m_pApp;
GZRset* rs;
CString * m_pstrReturnValue;
// Dialog Data
//{{AFX_DATA(CModelCatsDlg)
enum { IDD = IDD_MODELCATS };
CStatic m_lblCategory;
CEdit m_edNotes;
CEdit m_edCategory;
CgzCombo m_cbCategories;
CButton m_btnDone;
CButton m_btnDelete;
CButton m_btnAdd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CModelCatsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CModelCatsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnadd();
afx_msg void OnBtndelete();
afx_msg void OnBtndone();
afx_msg void OnCloseupCbcategories();
afx_msg void OnKillfocusEdcategory();
afx_msg void OnKillfocusEdnotes();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MODELCATSDLG_H__19D53F22_27FA_11D4_964F_00C0F02C4B69__INCLUDED_)