标签:style ar sp bs ef app file har nbsp
TCHAR szStylesPath[_MAX_PATH];
VERIFY(::GetModuleFileName(
AfxGetApp()->m_hInstance, szStylesPath, _MAX_PATH));
CString csStylesPath(szStylesPath);
int nIndex = csStylesPath.ReverseFind(_T(‘\\‘));
if (nIndex > 0) {
csStylesPath = csStylesPath.Left(nIndex);
}
else {
csStylesPath.Empty();
}
m_csStylesPath += csStylesPath + _T("\\Styles\\");
标签:style ar sp bs ef app file har nbsp
原文地址:http://www.cnblogs.com/yuyf/p/4057455.html