DictView.h 639 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. // DataDictView 对话框
  3. class CDmsDoc;
  4. class DictView : public CDialogEx
  5. {
  6. DECLARE_DYNAMIC(DictView)
  7. public:
  8. DictView(CWnd* pParent = nullptr); // 标准构造函数
  9. virtual ~DictView();
  10. // 对话框数据
  11. #ifdef AFX_DESIGN_TIME
  12. enum { IDD = IDD_DLG_DICT_VIEW };
  13. #endif
  14. public:
  15. CDmsDoc *GetDocument();
  16. CListCtrl m_ListCtrl_Dict;
  17. protected:
  18. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  19. DECLARE_MESSAGE_MAP()
  20. public:
  21. virtual BOOL OnInitDialog();
  22. void InitDictList();
  23. afx_msg void OnBnClickedBtnDictAdd();
  24. afx_msg void OnNMDblclkListDict(NMHDR *pNMHDR, LRESULT *pResult);
  25. };