static int EnumMtext(AcDbMTextFragment* pFrag, void* pData)
{
strMtext += pFrag->text;
return 1;
}
static CString GetMtextString(AcDbMText* mtext)
{
strMtext = _T("");
mtext->explodeFragments(EnumMtext, NULL, NULL);
CString str;
str = strMtext;
return str;
}