一段小代码。不知其作用
CRect rc;
if (m_bVer)
{
CString str;
str = "";
int len = m_strText.GetLength();
for(int i=0;i<len;i++)
{
str += m_strText.GetAt(i);
//if (theApp.m_LanguageSel==0)
{
i++;
str += m_strText.GetAt(i);
}
str +="\n";
}
rc.SetRect(rect.left+m_nXpos, rect.top+m_nYpos, rect.right, rect.bottom);
pDC->DrawText(str, &rc, m_nPos);
}
else
{
rc.SetRect(rect.left+m_nXpos, rect.top+m_nYpos, rect.right, rect.bottom);
pDC->DrawText(m_strText, &rc, m_nPos);
}