CRect C***::GetTextRect(CString strTxt)
{
//CRect rc(0,0,0,0);
CWindowDC dc(::GetDesktopWindow());
CRect rcText(0, 0, 1000, 1000);
const BkStyle& textStyle = BkStyle::GetStyle("class");
dc.SelectFont(textStyle.m_ftText);
dc.DrawText(strTxt, strTxt.GetLength(), rcText, textStyle.m_nTextAlign | DT_CALCRECT);
return rcText;
}