把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
gjm committed 2026-10-04 00:04:20 +08:00
1 parent 2b0c2055ff
commit 164968b62e
6171 files changed
+191244 -191243

No files matched your search

@@ -1,4 +1,4 @@
// TipWnd.cpp: implementation of the CTipWnd class.
// TipWnd.cpp: implementation of the CTipWnd class.
//
//////////////////////////////////////////////////////////////////////
@@ -88,7 +88,7 @@ BOOL CTipWnd::Create(DList<CBlockStruct> &lstInfo,int x,int y, CWnd *pParent)
LOGFONT m_lf;
ZeroMemory ((PVOID) &m_lf,sizeof (LOGFONT));
NONCLIENTMETRICS nm;
//nm.cbSize = sizeof (NONCLIENTMETRICS); 2010-5-6 沈睿删除,2010下崩溃
//nm.cbSize = sizeof (NONCLIENTMETRICS); 2010-5-6 沈睿删除,2010下崩溃
//#if ADS<18
nm.cbSize = sizeof (NONCLIENTMETRICS);
//#else
@@ -114,7 +114,7 @@ BOOL CTipWnd::Create(DList<CBlockStruct> &lstInfo,int x,int y, CWnd *pParent)
for(int i=0; i<lstInfo.Length();i++) {
CBlockStruct *pObjUnit=lstInfo[i];
if(pObjUnit->m_csDesName == "")
pObjUnit->m_csDesName = "无信息";
pObjUnit->m_csDesName = "无信息";
m_lstInfo.Append(pObjUnit);
CSize size=pDC->GetTextExtent(CString(pObjUnit->m_csRecord));
m_sizeLab.cx = max(m_sizeLab.cx, size.cx);
@@ -156,7 +156,7 @@ BOOL CTipWnd::Create(DList<CBlockStruct> &lstInfo,int x,int y, CWnd *pParent)
BOOL bRet= CWnd::Create(NULL,NULL,WS_CHILD|WS_VISIBLE,rect,pFrameWnd,0);
GEOAPI double g_nAcadVer;
if(TchGeLib::g_nAcadVer>16.11)//2006平台下要多画一次
if(TchGeLib::g_nAcadVer>16.11)//2006平台下要多画一次
SetTimer(1,200,NULL);
return bRet;
}