[ros-diffs] [gedmurphy] 28712: disable the dependancies dialog for now, there's no reason to show it until it's working
gedmurphy at svn.reactos.org
gedmurphy at svn.reactos.org
Fri Aug 31 17:57:48 CEST 2007
- Previous message: [ros-diffs] [greatlrd] 28711: move dummy api / old api, that does not do anything to historic.c, they are left in gdi32.dll for make it backwords compatble with older program follow api moves from stubs.c to historic.c GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiSetAttrs, GdiSetServerAttr.
- Next message: [ros-diffs] [greatlrd] 28713: Move more history api to the history file. follow api have been move DdSwapTextureHandles aka gdientry16, GdiReleaseLocalDC, GdiDeleteLocalDC, DeviceCapabilitiesExA, DeviceCapabilitiesExW, FixBrushOrgEx to historic.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gedmurphy
Date: Fri Aug 31 19:57:48 2007
New Revision: 28712
URL: http://svn.reactos.org/svn/reactos?rev=28712&view=rev
Log:
disable the dependancies dialog for now, there's no reason to show it until it's working
Modified:
trunk/reactos/base/applications/mscutils/servman/propsheet.c
Modified: trunk/reactos/base/applications/mscutils/servman/propsheet.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils/servman/propsheet.c?rev=28712&r1=28711&r2=28712&view=diff
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/propsheet.c (original)
+++ trunk/reactos/base/applications/mscutils/servman/propsheet.c Fri Aug 31 19:57:48 2007
@@ -38,14 +38,12 @@
hButton = GetDlgItem(hwndDlg, IDC_START);
EnableWindow (hButton, TRUE);
}
-
- if ( (Flags & SERVICE_ACCEPT_STOP) && (State == SERVICE_RUNNING) )
+ else if ( (Flags & SERVICE_ACCEPT_STOP) && (State == SERVICE_RUNNING) )
{
hButton = GetDlgItem(hwndDlg, IDC_STOP);
EnableWindow (hButton, TRUE);
}
-
- if ( (Flags & SERVICE_ACCEPT_PAUSE_CONTINUE) && (State == SERVICE_RUNNING) )
+ else if ( (Flags & SERVICE_ACCEPT_PAUSE_CONTINUE) && (State == SERVICE_RUNNING) )
{
hButton = GetDlgItem(hwndDlg, IDC_PAUSE);
EnableWindow (hButton, TRUE);
@@ -144,8 +142,8 @@
* the relevant service information
*/
static VOID
-GetDlgInfo(PSERVICEPROPSHEET dlgInfo,
- HWND hwndDlg)
+InitGeneralPage(PSERVICEPROPSHEET dlgInfo,
+ HWND hwndDlg)
{
LPQUERY_SERVICE_CONFIG pServiceConfig;
LPTSTR lpDescription;
@@ -279,7 +277,7 @@
SetWindowLongPtr(hwndDlg,
GWLP_USERDATA,
(LONG_PTR)dlgInfo);
- GetDlgInfo(dlgInfo, hwndDlg);
+ InitGeneralPage(dlgInfo, hwndDlg);
SetButtonStates(dlgInfo, hwndDlg);
}
}
@@ -369,13 +367,21 @@
return FALSE;
}
-
-
-
/*
+static VOID
+InitDependPage(PSERVICEPROPSHEET dlgInfo,
+ HWND hwndDlg)
+{
+
+
+}
+
+
+
+*
* Dependancies Property dialog callback.
* Controls messages to the Dependancies dialog
- */
+ *
static INT_PTR CALLBACK
DependanciesPageProc(HWND hwndDlg,
UINT uMsg,
@@ -384,7 +390,6 @@
{
PSERVICEPROPSHEET dlgInfo;
- /* Get the window context */
dlgInfo = (PSERVICEPROPSHEET)GetWindowLongPtr(hwndDlg,
GWLP_USERDATA);
@@ -403,6 +408,8 @@
SetWindowLongPtr(hwndDlg,
GWLP_USERDATA,
(LONG_PTR)dlgInfo);
+
+ InitDependPage(dlgInfo, hwndDlg);
}
}
break;
@@ -417,7 +424,7 @@
return FALSE;
}
-
+*/
static VOID
InitPropSheetPage(PROPSHEETPAGE *psp,
@@ -439,7 +446,7 @@
OpenPropSheet(PMAIN_WND_INFO Info)
{
PROPSHEETHEADER psh;
- PROPSHEETPAGE psp[2];
+ PROPSHEETPAGE psp[1];
PSERVICEPROPSHEET pServicePropSheet;
LONG Ret = 0;
@@ -467,7 +474,7 @@
InitPropSheetPage(&psp[0], pServicePropSheet, IDD_DLG_GENERAL, GeneralPageProc);
//InitPropSheetPage(&psp[1], Info, IDD_DLG_GENERAL, LogonPageProc);
//InitPropSheetPage(&psp[2], Info, IDD_DLG_GENERAL, RecoveryPageProc);
- InitPropSheetPage(&psp[1], pServicePropSheet, IDD_DLG_DEPEND, DependanciesPageProc);
+ //InitPropSheetPage(&psp[1], pServicePropSheet, IDD_DLG_DEPEND, DependanciesPageProc);
Ret = (LONG)(PropertySheet(&psh) != -1);
- Previous message: [ros-diffs] [greatlrd] 28711: move dummy api / old api, that does not do anything to historic.c, they are left in gdi32.dll for make it backwords compatble with older program follow api moves from stubs.c to historic.c GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiSetAttrs, GdiSetServerAttr.
- Next message: [ros-diffs] [greatlrd] 28713: Move more history api to the history file. follow api have been move DdSwapTextureHandles aka gdientry16, GdiReleaseLocalDC, GdiDeleteLocalDC, DeviceCapabilitiesExA, DeviceCapabilitiesExW, FixBrushOrgEx to historic.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list