Explorar el Código

Show message when backing up db on script update

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@775 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden hace 10 años
padre
commit
259a25b6eb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      DatabaseUtilities.cpp

+ 2 - 2
DatabaseUtilities.cpp

@@ -445,10 +445,10 @@ BOOL BackupDB(CString dbPath, CString prefix, CDittoPopupWindow **popUpMsg)
 		CRect r;
 		GetMonitorRect(0, r);
 		*popUpMsg = new CDittoPopupWindow();
-		(*popUpMsg)->Create(CRect(r.right - 400, r.bottom - 100, r.right - 10, r.bottom - 10), NULL);
-		(*popUpMsg)->UpdateText(_T("Backing up Ditto's Database"));
+		(*popUpMsg)->Create(CRect(r.right - 400, r.bottom - 100, r.right - 10, r.bottom - 10), NULL);		
 		::SetWindowPos((*popUpMsg)->m_hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_SHOWWINDOW);
 		(*popUpMsg)->ShowWindow(SW_SHOW);
+		(*popUpMsg)->UpdateText(_T("Backing up Ditto's Database"));
 	}
 	CString backup = GetFilePath(dbPath);