CopyProperties.h 2.1 KB

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