https://git.reactos.org/?p=reactos.git;a=commitdiff;h=47bbd637d8d0b8d012e40…
commit 47bbd637d8d0b8d012e4071b3bdae83d938267d8
Author: Alexander Shaposhnikov <sanchaez(a)reactos.org>
AuthorDate: Sun Nov 5 20:44:27 2017 +0200
[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 166b38304c..0d3d554fae 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);