CopyProperties.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #include "afxwin.h"
  2. #if !defined(AFX_COPYPROPERTIES_H__129FE1CD_D305_487A_B88C_BB01CD9C1BB7__INCLUDED_)
  3. #define AFX_COPYPROPERTIES_H__129FE1CD_D305_487A_B88C_BB01CD9C1BB7__INCLUDED_
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // CopyProperties.h : header file
  8. //
  9. #include "GroupCombo.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CCopyProperties dialog
  12. class CCopyProperties : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CCopyProperties(long lCopyID, CWnd* pParent = NULL); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CCopyProperties)
  19. enum { IDD = IDD_COPY_PROPERTIES };
  20. CGroupCombo m_GroupCombo;
  21. CHotKeyCtrl m_HotKey;
  22. CListBox m_lCopyData;
  23. CString m_eDisplayText;
  24. CString m_eDate;
  25. BOOL m_bNeverAutoDelete;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CCopyProperties)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. public:
  34. bool m_bChangedText;
  35. long m_lGroupChangedTo;
  36. void SetHideOnKillFocus(bool bVal) { m_bHideOnKillFocus = bVal; }
  37. // Implementation
  38. protected:
  39. long m_lCopyID;
  40. CDataTable m_DataTable;
  41. CMainTable m_MainTable;
  42. ARRAY m_DeletedData;
  43. bool m_bDeletedData;
  44. BOOL m_bNeverDelete;
  45. bool m_bHideOnKillFocus;
  46. bool m_bHandleKillFocus;
  47. // Generated message map functions
  48. //{{AFX_MSG(CCopyProperties)
  49. virtual BOOL OnInitDialog();
  50. virtual void OnOK();
  51. afx_msg void OnDeleteCopyData();
  52. virtual void OnCancel();
  53. afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. public:
  57. CEdit m_ParseEdit;
  58. CButton m_ParseButton;
  59. afx_msg void OnBnClickedParseButton();
  60. CEdit m_DisplayTextEdit;
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_COPYPROPERTIES_H__129FE1CD_D305_487A_B88C_BB01CD9C1BB7__INCLUDED_)