From: Alexander Shaposhnikov Date: Sun, 5 Nov 2017 18:44:27 +0000 (+0200) Subject: [RAPPS] Reflect installation status it download dialog header. X-Git-Tag: v0.4.7~130 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=47bbd637d8d0b8d012e4071b3bdae83d938267d8 [RAPPS] Reflect installation status it download dialog header. Pointed out by Mark Jansen --- diff --git a/base/applications/rapps/loaddlg.cpp b/base/applications/rapps/loaddlg.cpp index 166b38304c5..0d3d554fae3 100644 --- a/base/applications/rapps/loaddlg.cpp +++ b/base/applications/rapps/loaddlg.cpp @@ -804,7 +804,13 @@ run: if (ShellExecuteExW(&shExInfo)) { + //reflect installation progress in the titlebar + //TODO: make a separate string with a placeholder to include app name? + ATL::CStringW szMsgText = LoadStatusString(DLSTATUS_INSTALLING); + SetWindowTextW(hDlg, szMsgText.GetString()); + DownloadsListView.SetDownloadStatus(iAppId, DLSTATUS_INSTALLING); + //TODO: issue an install operation separately so that the apps could be downloaded in the background WaitForSingleObject(shExInfo.hProcess, INFINITE); CloseHandle(shExInfo.hProcess);