78 lines
2.0 KiB
C++
78 lines
2.0 KiB
C++
#if !defined(AFX_DLGTASKS_H__69649FC1_2BEE_11D4_964F_00C0F02C4B69__INCLUDED_)
|
|
#define AFX_DLGTASKS_H__69649FC1_2BEE_11D4_964F_00C0F02C4B69__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DlgTasks.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgTasks dialog
|
|
#include "gzcombo.h"
|
|
#include "gzrset.h"
|
|
|
|
class CDlgTasks : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
bool m_bReadOnly;
|
|
void Security();
|
|
void DisableAll(bool disable);
|
|
void ClearFields();
|
|
void FillList();
|
|
CDlgTasks(CWnd* pParent = NULL); // standard constructor
|
|
CSpApp* m_pApp;
|
|
GZRset* rs;
|
|
GZRset* cbrs;
|
|
CString * m_pstrReturnValue;
|
|
~CDlgTasks();
|
|
bool m_bAddMode;
|
|
CString m_strSelectedTask;
|
|
bool SaveField(CEdit *edControl,CString fldname,bool AllowEmpty);
|
|
bool SaveField(CButton *ckControl,CString fldname);
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDlgTasks)
|
|
enum { IDD = IDD_TASKS };
|
|
CStatic m_lblTasks;
|
|
CButton m_ckActive;
|
|
CEdit m_edMinutes;
|
|
CEdit m_edDetails;
|
|
CEdit m_edDescription;
|
|
CgzCombo m_cbTasks;
|
|
CButton m_btnDone;
|
|
CButton m_btnDelete;
|
|
CButton m_btnAdd;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDlgTasks)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDlgTasks)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBtnadd();
|
|
afx_msg void OnBtndelete();
|
|
afx_msg void OnBtndone();
|
|
afx_msg void OnCloseupCbtasks();
|
|
afx_msg void OnKillfocusEddescription();
|
|
afx_msg void OnKillfocusEddetails();
|
|
afx_msg void OnKillfocusEdminutes();
|
|
afx_msg void OnCkactive();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DLGTASKS_H__69649FC1_2BEE_11D4_964F_00C0F02C4B69__INCLUDED_)
|