chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
1 parent
2b0c2055ff
commit
164968b62e
6171 files changed
+191244
-191243
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "FZTTDlg.h"
|
||||
#include "KTCADUtilityEx.h"
|
||||
#include "AecDbEarthWorm.h"
|
||||
@@ -82,10 +82,10 @@ BOOL CFZTTDlg::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
// 子类化控件对象
|
||||
// 子类化控件对象
|
||||
if (!m_wndViewCtrl.SubclassDlgItem(IDC_STATIC_FRM, this))
|
||||
{
|
||||
// 错误时,结束对话框
|
||||
// 错误时,结束对话框
|
||||
EndDialog(IDCANCEL);
|
||||
return FALSE;
|
||||
}
|
||||
@@ -167,7 +167,7 @@ LRESULT CFZTTDlg::OnViewLButtonDown(WPARAM wp,LPARAM lp)
|
||||
AcGePoint3d* pPt = (AcGePoint3d*)lp;
|
||||
pPt->z = 0.0;
|
||||
|
||||
//判断 点落在 room 内
|
||||
//判断 点落在 room 内
|
||||
AecDbEarthWorm worm;
|
||||
worm.SetCrossSectionScr(m_sCrossSectionScr);
|
||||
worm.SetChamferInter(100.0);
|
||||
@@ -202,7 +202,7 @@ LRESULT CFZTTDlg::OnViewLButtonDown(WPARAM wp,LPARAM lp)
|
||||
ptGe[3] = ptGe[0];
|
||||
ptGe[3].y = ext.maxPoint().y;
|
||||
|
||||
m_dRoomWSel = 1000.0 * (ext.maxPoint().x - ext.minPoint().x);//毫米
|
||||
m_dRoomWSel = 1000.0 * (ext.maxPoint().x - ext.minPoint().x);//毫米
|
||||
|
||||
if (KTCADUtilityEx::IsPointInBoundary(*pPt,ptGe[0],ptGe[2]) )
|
||||
{
|
||||
@@ -271,19 +271,19 @@ void CFZTTDlg::OnBnClickedButton1()
|
||||
UpdateData();
|
||||
if (m_dL < 1.0)
|
||||
{
|
||||
AfxMessageBox(_T("凸台定位尺寸太小!"));
|
||||
AfxMessageBox(_T("凸台定位尺寸太小!"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_dW < 1.0)
|
||||
{
|
||||
AfxMessageBox(_T("凸台宽度尺寸太小!"));
|
||||
AfxMessageBox(_T("凸台宽度尺寸太小!"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_dH < 1.0)
|
||||
{
|
||||
AfxMessageBox(_T("凸台高度尺寸太小!"));
|
||||
AfxMessageBox(_T("凸台高度尺寸太小!"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -305,13 +305,13 @@ void CFZTTDlg::OnBnClickedButton4()
|
||||
UpdateData();
|
||||
if (m_dL < 1.0)
|
||||
{
|
||||
AfxMessageBox(_T("凸台定位尺寸太小!"));
|
||||
AfxMessageBox(_T("凸台定位尺寸太小!"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_nRoomIndex == -1)
|
||||
{
|
||||
AfxMessageBox(_T("请选择管廊舱室!"));
|
||||
AfxMessageBox(_T("请选择管廊舱室!"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user