mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[CPL][APPWIZ] Follow-up of #3726
Sorry, #3726 doesn't fix CORE-5737. CORE-17550
This commit is contained in:
parent
ab1f844189
commit
46c84779b6
1 changed files with 2 additions and 9 deletions
|
@ -388,17 +388,10 @@ static DWORD WINAPI download_proc(PVOID arg)
|
||||||
|
|
||||||
static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hwndProgress, hwndInstallButton;
|
HWND hwndInstallButton;
|
||||||
switch(msg) {
|
switch(msg) {
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
|
ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_HIDE);
|
||||||
hwndProgress = GetDlgItem(hwnd, ID_DWL_PROGRESS);
|
|
||||||
if (hwndProgress == GetFocus()) /* Avoid CORE-5737 */
|
|
||||||
{
|
|
||||||
SendMessageW(hwnd, WM_NEXTDLGCTL, 0, FALSE);
|
|
||||||
}
|
|
||||||
ShowWindow(hwndProgress, SW_HIDE);
|
|
||||||
|
|
||||||
install_dialog = hwnd;
|
install_dialog = hwnd;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue