Files
envi-code/SourceCode/Code2026/tg_shs/shs_kerncmd/GoalLayerDlg.h
T

52 lines
1.1 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#ifndef _GOALLAYER_DLG_H_
2026-09-28 15:28:50 +08:00
#define _GOALLAYER_DLG_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
2026-10-04 00:04:20 +08:00
// 类的功能:图元改层命令显示当前图纸中的所有图层和图层描述
2026-09-28 15:28:50 +08:00
// add xly 100611
class CGoalLayerDlg : public GlwCAcUiDialog
{
public:
CGoalLayerDlg(CWnd* pParent = NULL);
virtual ~CGoalLayerDlg();
//{{AFX_DATA(CGoalLayerDlg)
enum { IDD = IDD_DLG_GOALLAYER };
2026-10-04 00:04:20 +08:00
CString m_csGoaleLayer; // 记录目标图层编辑框
CListCtrl m_wndLstLayerAll; // 列表框控件
2026-09-28 15:28:50 +08:00
//}}AFX_DATA
public:
2026-10-04 00:04:20 +08:00
// 设置列表框中的数据
2026-09-28 15:28:50 +08:00
CStringArray m_csAryLayerAll;
2026-10-04 00:04:20 +08:00
// 设置列表框中的数据,图层的描述
2026-09-28 15:28:50 +08:00
CStringArray m_csAryDec;
public:
2026-10-04 00:04:20 +08:00
// 获得编辑框中的目标图层
2026-09-28 15:28:50 +08:00
CString GetGoalLayer();
2026-10-04 00:04:20 +08:00
// 获得本图中的所有图层名称以及描述
2026-09-28 15:28:50 +08:00
void GetAllLayerNames();
//{{AFX_VIRTUAL(CGoalLayerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CGoalLayerDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnClickListLayer(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif