void CDialogDlg::OnResetDate() { // Reset selected calendar date to today m_Calendar1.Today(); }