mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
show Cancel button
svn path=/trunk/; revision=22125
This commit is contained in:
parent
c2f4c7bb97
commit
d91dbeb60b
|
@ -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…
Reference in a new issue