mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[ZIPFLDR] Enable / disable the correct wizard buttons
This commit is contained in:
parent
f43a7b81a7
commit
a4554c07b0
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,7 @@ public:
|
|||
m_pExtract->m_DirectoryChanged = false;
|
||||
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE); /* Not supported for now */
|
||||
GetParent().CenterWindow(::GetDesktopWindow());
|
||||
SetWizardButtons(PSWIZB_NEXT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -171,6 +172,7 @@ public:
|
|||
::EnableWindow(GetDlgItem(IDC_BROWSE), FALSE);
|
||||
::EnableWindow(GetDlgItem(IDC_DIRECTORY), FALSE);
|
||||
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE);
|
||||
SetWizardButtons(0);
|
||||
|
||||
if (m_pExtract->m_DirectoryChanged)
|
||||
UpdateDirectory();
|
||||
|
@ -183,6 +185,7 @@ public:
|
|||
::EnableWindow(GetDlgItem(IDC_BROWSE), TRUE);
|
||||
::EnableWindow(GetDlgItem(IDC_DIRECTORY), TRUE);
|
||||
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE); /* Not supported for now */
|
||||
SetWizardButtons(PSWIZB_NEXT);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue