You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TwoLaserHead-PushJig/LaiPuLaser/DlgObjList.h

30 lines
691 B
C++

#pragma once
#include "DlgPane.h"
#include "ObjContainer.h"
class CDlgObjList : public CDlgPane
{
DECLARE_DYNAMIC(CDlgObjList)
public:
CDlgObjList(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgObjList();
virtual UINT GetIDD(){return CDlgObjList::IDD;};
void RefreshObjList();
void BindObjContainer(CObjContainer *p);
// 对话框数据
enum { IDD = IDD_OBJ_LIST};
private:
void IniList();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
afx_msg BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
private:
CObjContainer *m_ObjContainer;//obj 对象容器
CListCtrl m_List;
};