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

75 lines
2.4 KiB
C++

#if !defined(AFX_STAIRDLG_H__091966D5_BBBE_4768_9099_BFF2641ACB71__INCLUDED_)
#define AFX_STAIRDLG_H__091966D5_BBBE_4768_9099_BFF2641ACB71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StairDlg.h : header file
//
#include "baseStairDlg.h"
#include "resource.h"
#include "dbstair.h"
// [9/28/2007 nsh]
#include "wgroupctrl.h"
/////////////////////////////////////////////////////////////////////////////
// CLineStairDlg
class CLineStairDlg : public CBaseStairDlg
{
protected:
bool bValidWnd;
public:
DECLARE_DYNAMIC(CLineStairDlg)
CLineStairDlg(CWnd* pParent = NULL);
CLineStairDlg(UINT id,CWnd*pParent=NULL);
virtual void UpdateSel();
//增加了新增项对用户改变选定的响应。
virtual bool UpdateEdit(UINT ctrlID,bool bReportError=false);
//增加了可能引起梯段长度与梯段宽度变化的处理。
virtual AcDbEntity * NewObject();
virtual void Dlg2Obj(AcDbEntity *pStep);
virtual void Obj2Dlg(const AcDbEntity *pStep);
virtual ~CLineStairDlg();
public:
//{{AFX_DATA(CLineStairDlg)
enum { IDD = IDD_LINESTAIR };
//}}AFX_DATA
static CString m_strStepWidth;//line,rect共用
static CString m_strStairLength;//line,rect共用
static CString m_strStairWidth;//line,rect共用
// --------------------------- [9/28/2007 nsh]
WGroupCtrl m_group;
static BOOL m_bgroupStatus;
//以下用于备份和判断是否编辑状态的参数
BOOL m_bEdit;//是否处于编辑状态
TDbLineStair * m_pBakObj;//备份状态
CComboBox m_ctrlStairHeight;//楼梯高度
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLineStairDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLineStairDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPickStairWidth();
afx_msg void OnKFStepWidth();
afx_msg void OnKFStairLength();
afx_msg void OnKFStairWidth();
afx_msg void OnChangeStepWidth();
afx_msg void OnChangeStairLength();
afx_msg void OnChangeStairWidth();
void OnChangeStairHeight();//改变楼梯高度
void OnSelChangeStairHeight();//选择改变大小
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STAIRDLG_H__091966D5_BBBE_4768_9099_BFF2641ACB71__INCLUDED_)