Files
envi-code/SourceCode/Code2026/ArchCmd/FZSS2Dlg.h
T
2026-09-28 15:28:50 +08:00

42 lines
942 B
C++

#pragma once
#include "resource.h"
#include <XListCtrl.h>
#include "afxwin.h"
class CFZSS2Dlg : public CDialog
{
DECLARE_DYNAMIC(CFZSS2Dlg)
public:
//CFZSS2Dlg(CWnd* pParent = NULL);
virtual ~CFZSS2Dlg();
enum { IDD = IDD_FZSS2_DLG };
CFZSS2Dlg(const std::vector<double>& arWidthd, double dOffFrWall, double dEl, double dInThick, double dOutThick, CWnd* pParent = NULL);
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
void initCtrls();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);//EN_KILLFOCUS
afx_msg void OnKillFocus();
void getUserInputData(std::vector<CString> &arWidths);
public:
double m_dOffFrWall;
double m_dEl;
double m_dInThick;
double m_dOutThick;
CEdit m_EditW;
CXListCtrl m_ListCtrl;
int m_Row;
int m_Col;
std::vector<CString> m_arWidths;
const std::vector<double>& m_arWidthd;
};