Files
envi-code/SourceCode/Code2026/tg_shs/shs_kernal/TchInitSet1Dlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

138 lines
4.0 KiB
C++

#if !defined(AFX_TCHINITSET1DLG_H__1AEE9578_2EF9_4E55_8C64_10D71C8C10D2__INCLUDED_)
#define AFX_TCHINITSET1DLG_H__1AEE9578_2EF9_4E55_8C64_10D71C8C10D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TchInitSet1Dlg.h : header file
//
#include "adui.h"
#include "acui.h"
#ifndef TARCH_SETTING_MSG_UPDATA
#define TARCH_SETTING_MSG_UPDATA WM_USER+102
#define TARCH_SETTING_MSG_BUTTONSTATION WM_USER+103
#endif
/////////////////////////////////////////////////////////////////////////////
// CTchInitSet1Dlg dialog
class CTchInitSet1Dlg : public CAcUiTabChildDialog
{
// Construction
public:
CTchInitSet1Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTchInitSet1Dlg)
enum { IDD = IDD_TCH_SET1 };
CAcUiColorComboBox m_BaseColorBox;
BOOL m_bAreaUnit;
int m_nUnitType;
int m_nDrawUnitType;
int m_nDimUnitType;
int m_nUnitType2;
BOOL m_bDimAdjust;
int m_nDimAdjMode;
BOOL m_bDimCheck;
int m_nWallApearance;
CString m_csElevDiff;
CString m_csLHeight;
CString m_csMaxDimGrip;
int m_nOsWallBase;
CString m_csPScale;
int m_nDrawMode;
BOOL m_bSpaceArea;
int m_nCoordMode;
BOOL m_bLevelLine;
BOOL m_bHideCaption;
int m_iStairSect;
BOOL m_bCapLabel;
BOOL m_bDblClkEditObj;//add by whl
// removed by lgh;这个数据不再需要
// BOOL m_bBlaconyHalf; //add by xlc on 090625 阳台按一半面积计算
//}}AFX_DATA
int m_nWallBaseColor;
int m_nSpaceAreaPrecision;
// 三角形标高符号高度
CString m_strAngleSimbolHeight;
double m_dText2BaseRatio;
// 索引图名,是否保留8.0以前的绘制样式
// sg modify 110210,圆圈文字样式,由复选框改为单选按钮
// BOOL m_bSaveOldVersion;
int m_iDITextStyle;
// sg add 110210,增加“凸窗档板、门窗套保温设置”
BOOL m_bProWinSlabInsu;
// 索引图名中,文字大小的控制比例
CString m_strDwgIndexScale;
// 引出文字距基线末端距离
CString m_strLeaderDist;
// 圆点标高符号直径
CString m_strDoteSize;
// 符号标高十字线长
CString m_strCrossSize;
// sg add 120615,增加“弧长新旧标准”切换设置
int m_nArcLenDimType;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTchInitSet1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTchInitSet1Dlg)
virtual void OnOK();
virtual BOOL OnInitDialog();
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
virtual void OnMainDialogOK();
BOOL AddTip(UINT idControl, const TCHAR *str=NULL);
public:
afx_msg void OnBnClickedSelectPreview();
afx_msg void OnBnClickedDblclkEdit2();
afx_msg void OnCbnSelchangeUnit2();
afx_msg void OnCbnSelchangeComboUnit();
afx_msg void OnCbnSelchangeUnit();
afx_msg void OnCbnSelchangeDrawUnit();
afx_msg void OnCbnSelchangeDimUnit();
afx_msg LRESULT OnReUpdataDlg(WPARAM w,LPARAM l);// 更新对话框
afx_msg void OnStnClickedStatic31();
afx_msg void OnCbnSelchangePscale();
afx_msg void OnBnClickedShow2d();
afx_msg void OnEnChangeDwgindextextscale();
afx_msg void OnSize(UINT nType, int cx, int cy);
// sg modify 110210,圆圈文字样式,由复选框改为单选按钮
// afx_msg void OnBnClickedSaveOldVer();
afx_msg void OnBnClickedDrawingIndexTextStyle();
// sg add 110210,增加“凸窗档板、门窗套保温设置”
afx_msg void OnBnClickedProWinSlabInsu();
afx_msg void OnPaint();
afx_msg void OnDestroy();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
public:
void UpdateGlobal();
void RetDefault();
void SetPicture();
private:
CToolTipCtrl m_wndToolTip;
CImageDC m_imgPreview; // 幻灯片预览的DC
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TCHINITSET1DLG_H__1AEE9578_2EF9_4E55_8C64_10D71C8C10D2__INCLUDED_)