i dont know if this is right...
void CtimerDlg::OnBnClickedButton1()
{

UINT sec;
char u[90];
CString y;
sec=SetTimer(60,1000,0);
sprintf(u,"%d",sec);
y=u;
a.SetWindowText(y);


}
is the value of sec will decrease from 60-0 every second upon clicking my command button? but how can i update the value of my text box every second?