}
begin_message_map(cnumberedit, cedit)
//{{afx_msg_map(cnumberedit)
on_wm_char()
on_control_reflect(en_killfocus, onkillfocus)
//}}afx_msg_map
end_message_map()
void cnumberedit::onchar(uint nchar, uint nrepcnt, uint nflags)
{
// todo: add your message handler code here and/or call default
if(nchar == 8)
{
cedit::onchar(nchar, nrepcnt, nflags);
return;
}
bool bchange = false;
getwindowtext(m_str);
if(checknumber(nchar,nrepcnt,nflags))