chenluhua1980
2026-01-19 44360bc2cdeee16be72f9cc4bfb42e0ac26b5b44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma once
#include "CHMPropertyPage.h"
#include "ListCtrlEx.h"
 
// CPageDataVarialbles 对话框(DVID 编辑/查看)
class CPageDataVarialbles : public CHMPropertyPage
{
    DECLARE_DYNAMIC(CPageDataVarialbles)
 
public:
    CPageDataVarialbles(CWnd* pParent = nullptr);
    virtual ~CPageDataVarialbles();
    virtual void OnApply();
    void loadDataVariables();
    virtual void OnCreateBtns();
 
private:
    CListCtrlEx m_listCtrl;
 
protected:
    virtual void OnClickedBtn(const char* btnName) override;
 
#ifdef AFX_DESIGN_TIME
    enum { IDD = IDD_PAGE_VARIABLE };
#endif
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);
 
    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
    afx_msg void OnDestroy();
    afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnLvnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
};