}
DialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam){  switch (message)  {  case WM_INITDIALOG:    InitDialog(hDlg);    return TRUE;  case WM_TIMER:    if (sQuit)      EndDialog(hDlg, 0);    else      UpdateDialog(hDlg);    return TRUE;  case WM_COMMAND:    return TRUE;  }  return FALSE;}