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

69 lines
1.7 KiB
C++

// = FileName: CThunderSetDlg.h
// = Version: 7.6
// = Author:
// = Date: 2008/06/23
// = Description: 避雷针设置
// = Maintainers:
// 版本号 时间 修改人 修改内容
#if !defined(AFX_CThunderSetDlg_H__261FA02A_C432_47D6_878C_BA1CE3822FED__INCLUDED_)
#define AFX_CThunderSetDlg_H__261FA02A_C432_47D6_878C_BA1CE3822FED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
#include "afxwin.h"
//#include "modelessdialog.h"
#define ERR_VALUE 256
class CThunderSetDlg : public CDialog
{
public:
CThunderSetDlg(CWnd* pParent = NULL);
//{{AFX_DATA(CThunderSetDlg)
enum { IDD = IDD_THUNDERSET };
CSpinButtonCtrl m_spnFontHtCtrl;
CEdit m_edtFontHeight;
CButton m_chkUniProHeight;
CButton m_chkProRange;
CButton m_chkSinProHeight;
CButton m_chkSpaBetween;
CButton m_chkHorProRadiu;
CAcUiColorComboBox m_cmbUniColor;
CAcUiColorComboBox m_cmbFontColor;
CAcUiColorComboBox m_cmbSinColor;
double m_nLineThink; //线宽
//}}AFX_DATA
//{{AFX_VIRTUAL(CThunderSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CThunderSetDlg)
afx_msg LONG_PTR OnAcadKeepFocus(UINT_PTR, LONG_PTR);
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual BOOL PreTranslateMessage(MSG *pMsg);
afx_msg void OnBtnRegisterInfor();
afx_msg void OnButtonCancel();
afx_msg void OnClose();
afx_msg void OnDeltaposSpinFontHeight(NMHDR *pNMHDR, LRESULT *pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
// 初始化控件
void InitAllControls();
void ReadDlgData();
void SaveDlgData();
};
#endif // !defined(AFX_CThunderSetDlg_H__261FA02A_C432_47D6_878C_BA1CE3822FED__INCLUDED_)