Added a minimize box to the Windows GUI.
authorThomas Lopatic <thomas@lopatic.de>
Fri, 17 Sep 2004 14:50:55 +0000 (14:50 +0000)
committerThomas Lopatic <thomas@lopatic.de>
Fri, 17 Sep 2004 14:50:55 +0000 (14:50 +0000)
gui/win32/Main/Frontend.clw
gui/win32/Main/Frontend.rc

index 37e589f..2644ff7 100644 (file)
@@ -19,10 +19,10 @@ Class7=MyEdit
 Class8=MyTabCtrl\r
 \r
 ResourceCount=5\r
-Resource1=IDD_DIALOG3\r
-Resource2=IDD_FRONTEND_DIALOG\r
-Resource3=IDD_DIALOG1\r
-Resource4=IDD_DIALOG2\r
+Resource1=IDD_FRONTEND_DIALOG\r
+Resource2=IDD_DIALOG1\r
+Resource3=IDD_DIALOG2\r
+Resource4=IDD_DIALOG3\r
 Resource5=IDD_DIALOG4\r
 \r
 [CLS:CFrontendApp]\r
index dada414..fa4cf56 100644 (file)
@@ -65,10 +65,11 @@ END
 //\r
 \r
 IDD_FRONTEND_DIALOG DIALOGEX 0, 0, 399, 289\r
-STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU\r
+STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | \r
+    WS_SYSMENU\r
 EXSTYLE WS_EX_APPWINDOW\r
 CAPTION "olsr.org Switch 0.4.7"\r
-FONT 8, "MS Sans Serif", 0, 0, 0x1\r
+FONT 8, "MS Sans Serif"\r
 BEGIN\r
     CONTROL         "Tab1",IDC_TAB1,"SysTabControl32",0x0,7,7,383,256\r
     PUSHBUTTON      "Start",IDC_BUTTON1,228,268,50,14\r