AdvGeneral.h 963 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include "afxpropertygridctrl.h"
  3. #include "DialogResizer.h"
  4. class CAdvGeneral : public CDialogEx
  5. {
  6. DECLARE_DYNAMIC(CAdvGeneral)
  7. public:
  8. CAdvGeneral(CWnd* pParent = NULL); // standard constructor
  9. virtual ~CAdvGeneral();
  10. // Dialog Data
  11. enum { IDD = IDD_ADV_OPTIONS };
  12. CDialogResizer m_Resize;
  13. bool m_mouseDownOnCaption;
  14. protected:
  15. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  16. void AddTrueFalse(CMFCPropertyGridProperty * pGroupTest, CString desc, BOOL value, int settingId);
  17. DECLARE_MESSAGE_MAP()
  18. public:
  19. CMFCPropertyGridCtrl m_propertyGrid;
  20. virtual BOOL OnInitDialog();
  21. afx_msg void OnBnClickedOk();
  22. afx_msg void OnSize(UINT nType, int cx, int cy);
  23. afx_msg void OnBnClickedBtCompactAndRepair();
  24. afx_msg void OnBnClickedButtonCopyScripts();
  25. afx_msg void OnBnClickedButtonPasteScripts2();
  26. afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
  27. afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
  28. };