display first tab at startup
fixed a typo in german rc file
resized some controls
Modified: trunk/reactos/subsys/system/msconfig/De.rc
Modified: trunk/reactos/subsys/system/msconfig/En.rc
Modified: trunk/reactos/subsys/system/msconfig/msconfig.c

Modified: trunk/reactos/subsys/system/msconfig/De.rc
--- trunk/reactos/subsys/system/msconfig/De.rc	2006-01-19 03:25:51 UTC (rev 20946)
+++ trunk/reactos/subsys/system/msconfig/De.rc	2006-01-19 18:19:44 UTC (rev 20947)
@@ -60,19 +60,19 @@
 BEGIN
    CONTROL "", IDC_LIST_BOX, "ListBox", 0x50010141, 10, 10, 340, 50, 0x00000200
    PUSHBUTTON    "&Alle Bootpfade ³berpr³fen", IDC_BTN_CHECK_BOOT_PATH, 10, 65, 90, 12
-   PUSHBUTTON    "A&ls Standart", IDC_BTN_SET_DEFAULT_BOOT, 120, 65, 63, 12
-   PUSHBUTTON    "Nach &Oben", IDC_BTN_MOVE_UP_BOOT_OPTION, 203, 65, 63, 12
-   PUSHBUTTON    "Nach &Unten", IDC_BTN_MOVE_DOWN_BOOT_OPTION, 286, 65, 63, 12
+   PUSHBUTTON    "A&ls Standard", IDC_BTN_SET_DEFAULT_BOOT, 120, 65, 63, 12
+   PUSHBUTTON    "Nach &oben", IDC_BTN_MOVE_UP_BOOT_OPTION, 203, 65, 63, 12
+   PUSHBUTTON    "Nach &unten", IDC_BTN_MOVE_DOWN_BOOT_OPTION, 286, 65, 63, 12
    GROUPBOX "Boot Optionen", -1, 10, 80, 250, 90
    CHECKBOX "/SA&FEBOOT", IDC_CBX_SAFE_BOOT, 15, 90, 50, 10
-   CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 50, 10
+   CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 55, 10
    CHECKBOX "/&BOOTLOG", IDC_CBX_BOOT_LOG, 15, 120, 50, 10
-   CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 50, 10
+   CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 55, 10
    CHECKBOX "/S&OS", IDC_CBX_SOS, 15, 150, 50, 10
    PUSHBUTTON "E&rweiterte Optionen...", IDC_BTN_ADVANCED_OPTIONS, 100, 150, 90, 12 
-   LTEXT "&Zeitlimit:", -1, 280, 90, 30, 10
-   EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 10, ES_LEFT
-   LTEXT "Sek.", -1, 340, 90, 15, 10
+   LTEXT "&Zeitlimit:", -1, 280, 91, 30, 10
+   EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 12, ES_LEFT
+   LTEXT "Sek.", -1, 340, 91, 15, 10
 END
 
 IDD_FREELDR_ADVANCED_PAGE DIALOG DISCARDABLE  0, 0, 175, 175

Modified: trunk/reactos/subsys/system/msconfig/En.rc
--- trunk/reactos/subsys/system/msconfig/En.rc	2006-01-19 03:25:51 UTC (rev 20946)
+++ trunk/reactos/subsys/system/msconfig/En.rc	2006-01-19 18:19:44 UTC (rev 20947)
@@ -65,14 +65,14 @@
    PUSHBUTTON    "Move &Down", IDC_BTN_MOVE_DOWN_BOOT_OPTION, 280, 65, 70, 12
    GROUPBOX "Boot Options", -1, 10, 80, 250, 90
    CHECKBOX "/SA&FEBOOT", IDC_CBX_SAFE_BOOT, 15, 90, 50, 10
-   CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 50, 10
+   CHECKBOX "/&NOGUIBOOT", IDC_CBX_NO_GUI_BOOT, 15, 105, 55, 10
    CHECKBOX "/&BOOTLOG", IDC_CBX_BOOT_LOG, 15, 120, 50, 10
-   CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 50, 10
+   CHECKBOX "/BAS&EVIDEO", IDC_CBX_BASE_VIDEO, 15, 135, 55, 10
    CHECKBOX "/S&OS", IDC_CBX_SOS, 15, 150, 50, 10
    PUSHBUTTON "Ad&vanced Options...", IDC_BTN_ADVANCED_OPTIONS, 100, 150, 70, 12 
-   LTEXT "&Timeout:", -1, 280, 90, 30, 10
-   EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 10, ES_LEFT
-   LTEXT "sec.", -1, 340, 90, 15, 10
+   LTEXT "&Timeout:", -1, 280, 91, 30, 10
+   EDITTEXT IDC_TXT_BOOT_TIMEOUT, 310, 90, 25, 12, ES_LEFT
+   LTEXT "sec.", -1, 340, 91, 15, 10
 END
 
 IDD_FREELDR_ADVANCED_PAGE DIALOG DISCARDABLE  0, 0, 175, 175

Modified: trunk/reactos/subsys/system/msconfig/msconfig.c
--- trunk/reactos/subsys/system/msconfig/msconfig.c	2006-01-19 03:25:51 UTC (rev 20946)
+++ trunk/reactos/subsys/system/msconfig/msconfig.c	2006-01-19 18:19:44 UTC (rev 20947)
@@ -5,6 +5,7 @@
 HWND hMainWnd;                   /* Main Window */
 HWND hTabWnd;                    /* Tab Control Window */
 
+void MsConfig_OnTabWndSelChange(void);
 
 BOOL OnCreate(HWND hWnd)
 {
@@ -59,6 +60,8 @@
     item.pszText = szTemp;
     TabCtrl_InsertItem(hTabWnd, 5, &item);
 
+    MsConfig_OnTabWndSelChange();
+
 	return TRUE;
 }
 
@@ -161,6 +164,7 @@
 
     case WM_DESTROY:
 		DestroyWindow(hToolsPage);
+        DestroyWindow(hGeneralPage);
 		DestroyWindow(hServicesPage);
 		DestroyWindow(hStartupPage);
         DestroyWindow(hFreeLdrPage);