void CMessagePage::OnSetfocusEditToday()
{
// TODO: Add your control notification handler code here
UpdateData();
m_toSpin.SetBuddy(GetDlgItem(IDC_EDIT_TODAY));
m_toSpin.SetBase(10);
m_toSpin.SetRange32(1,31);
int current = atoi(m_toDay);
m_toSpin.SetPos(current);
}
{
// TODO: Add your control notification handler code here
UpdateData();
m_toSpin.SetBuddy(GetDlgItem(IDC_EDIT_TODAY));
m_toSpin.SetBase(10);
m_toSpin.SetRange32(1,31);
int current = atoi(m_toDay);
m_toSpin.SetPos(current);
}