CopyProperties.h 1.8 KB

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