2026-10-04 00:04:20 +08:00
|
|
|
#pragma once
|
2026-09-28 15:28:50 +08:00
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CFFTMDlg : public CDialog
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNAMIC(CFFTMDlg)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CFFTMDlg(CWnd* pParent = NULL);
|
|
|
|
|
virtual ~CFFTMDlg();
|
|
|
|
|
|
|
|
|
|
enum { IDD = IDD_FFTM_DLG };
|
|
|
|
|
|
|
|
|
|
void SetAreaShow(double dArea,double dPer);
|
|
|
|
|
void SetSelCoating(CString &sSelCoating, Adesk::UInt16 nColorIndex);
|
|
|
|
|
double GetSelCoating(CString& sSelCoating, Adesk::UInt16 & nColorIndex) const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
public:
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
afx_msg void OnBnClickedOk();
|
|
|
|
|
CListCtrl m_wndLstCtrl;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
CString m_sSelCoating;
|
|
|
|
|
Adesk::UInt16 m_nColorIndex;
|
|
|
|
|
double m_dArea;
|
|
|
|
|
double m_dPer;
|
|
|
|
|
void ShowCoatings();
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedButton3();
|
|
|
|
|
afx_msg HBRUSH OnCtlColor(CDC *pDC, CWnd *pWnd, UINT nCtlColor);
|
|
|
|
|
afx_msg void OnStnClickedStaticColor();
|
|
|
|
|
};
|