Mikolaj Zalewski : mshtml: Hide the progress bar while asking the user if Gecko should be installed.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 10 10:18:03 CDT 2007


Module: wine
Branch: master
Commit: a0de33b4871ba5d2a7890d527421f6fa00ababc2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a0de33b4871ba5d2a7890d527421f6fa00ababc2

Author: Mikolaj Zalewski <mikolajz at google.com>
Date:   Fri Sep  7 16:25:16 2007 -0700

mshtml: Hide the progress bar while asking the user if Gecko should be installed.

---

 dlls/mshtml/install.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 845598e..d4fb1f9 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -368,6 +368,7 @@ static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
 {
     switch(msg) {
     case WM_INITDIALOG:
+        ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_HIDE);
         install_dialog = hwnd;
         return TRUE;
 
@@ -378,6 +379,7 @@ static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
             return FALSE;
 
         case ID_DWL_INSTALL:
+            ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_SHOW);
             EnableWindow(GetDlgItem(hwnd, ID_DWL_INSTALL), 0);
             EnableWindow(GetDlgItem(hwnd, IDCANCEL), 0); /* FIXME */
             CreateThread(NULL, 0, download_proc, NULL, 0, NULL);




More information about the wine-cvs mailing list