Well...I am not sure whether I understood completely...but if you want to shor your application only for one second...add the following to your dialog...
Code:
BOOL CMyDlg::OnInitDialog()
{
  ...

  if(!SetTimer(100, 1000, 0))
    EndDialog(IDCANCEL);

  return TRUE;
}

void CMyDlg::OnTimer(UINT nIDEvent)
{
  if(nIDEvent == 100)
  {
    // Kill timer
    KillTimer(100);

    EndDialog(IDOK);

    return;
  }

  CDialog::OnTimer(nIDEvent);
}