//m_point.x += m_point.y*6;
//setcaretpos(m_point);
}
}
void cnumberedit::onkillfocus()
{
// todo: add your control notification handler code here
getwindowtext(m_str);
int iloop = m_iafterdotlen;
if(m_str.isempty())
m_str = "0.";
else if(m_str.getlength() == 1 && m_str[0] == tchar('-'))
m_str = "0.";
else
{
int idotpos = m_str.find(tchar('.'));
if(idotpos <0)
m_str+=".";
if(idotpos >0)