Author: cwittich
Date: Wed May 31 18:26:46 2006
New Revision: 22125
URL:
http://svn.reactos.ru/svn/reactos?rev=22125&view=rev
Log:
show Cancel button
Modified:
trunk/reactos/dll/win32/newdev/wizard.c
Modified: trunk/reactos/dll/win32/newdev/wizard.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/newdev/wizard.c?r…
==============================================================================
--- trunk/reactos/dll/win32/newdev/wizard.c (original)
+++ trunk/reactos/dll/win32/newdev/wizard.c Wed May 31 18:26:46 2006
@@ -958,6 +958,7 @@
IN LPARAM lParam)
{
PDEVINSTDATA DevInstData;
+ HWND hwndControl;
/* Get pointer to the global setup data */
DevInstData = (PDEVINSTDATA)GetWindowLongPtr(hwndDlg, GWL_USERDATA);
@@ -966,7 +967,6 @@
{
case WM_INITDIALOG:
{
- HWND hwndControl;
BOOL DisableableDevice = FALSE;
DevInstData = (PDEVINSTDATA)((LPPROPSHEETPAGE)lParam)->lParam;
@@ -1009,6 +1009,9 @@
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;