mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:46:17 +00:00
show Cancel button
svn path=/trunk/; revision=22125
This commit is contained in:
parent
c2f4c7bb97
commit
d91dbeb60b
1 changed files with 4 additions and 1 deletions
|
@ -958,6 +958,7 @@ NoDriverDlgProc(
|
|||
IN LPARAM lParam)
|
||||
{
|
||||
PDEVINSTDATA DevInstData;
|
||||
HWND hwndControl;
|
||||
|
||||
/* Get pointer to the global setup data */
|
||||
DevInstData = (PDEVINSTDATA)GetWindowLongPtr(hwndDlg, GWL_USERDATA);
|
||||
|
@ -966,7 +967,6 @@ NoDriverDlgProc(
|
|||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
HWND hwndControl;
|
||||
BOOL DisableableDevice = FALSE;
|
||||
|
||||
DevInstData = (PDEVINSTDATA)((LPPROPSHEETPAGE)lParam)->lParam;
|
||||
|
@ -1009,6 +1009,9 @@ NoDriverDlgProc(
|
|||
|
||||
case PSN_WIZBACK:
|
||||
/* Handle a Back button click, if necessary */
|
||||
hwndControl = GetDlgItem(GetParent(hwndDlg), IDCANCEL);
|
||||
ShowWindow(hwndControl, SW_SHOW);
|
||||
EnableWindow(hwndControl, TRUE);
|
||||
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_CHSOURCE);
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue