From 47bbd637d8d0b8d012e4071b3bdae83d938267d8 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Sun, 5 Nov 2017 20:44:27 +0200 Subject: [PATCH] [RAPPS] Reflect installation status it download dialog header. Pointed out by Mark Jansen --- base/applications/rapps/loaddlg.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.17.1