This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Setup.exe and window resizing


Admittedly it's very annoying dealing with that tiny window for selecing the packages.
As a first approach, I have simply patched the res.rc file of the source distribution and rebuild setup.exe.
Still the dialogs are not resizeable and it even enlarges all the dialogs (which is not so beautiful, but acceptable for me), but it
is rather suitable for the packages dialog (screen resolution 800x600 or higher), which is the most important cygwin setup dialog to
my opinion.
I append a diff against revision 2.249.2.4 at the end of this mail. Feel free to use it (at your own risk ;-).

By the way, what is the correct way to build setup.exe?
I used:
 $ export CFLAGS=-mno-cygwin
 $ export CPPFLAGS=-mno-cygwin
 $ export CXXFLAGS=-mno-cygwin
 $ configure --disable-shared
 $ make

The result is a setup.exe without dependency from cygwin1.dll, but much larger than that found at redhat.com.
What is wrong?

Regards
Martin

-------------------- snip -----------------------------

--- res.rc  2002/05/12 11:28:22  2.249.2.4
+++ res.rc  2002/07/02 08:42:32  2.249.2.4.patched
@@ -262,29 +262,29 @@
     PUSHBUTTON      "Cancel",IDCANCEL,165,75,45,15
 END

-IDD_CHOOSE DIALOG DISCARDABLE  0, 0, 317, 179
+IDD_CHOOSE DIALOG DISCARDABLE  0, 0, 517, 279
 STYLE DS_MODALFRAME | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CAPTION |
-    WS_SYSMENU
+    WS_SYSMENU | DS_CENTER
 CAPTION "Cygwin Setup"
 FONT 8, "MS Sans Serif"
 BEGIN
     CONTROL         "&Prev",IDC_CHOOSE_PREV,"Button",BS_AUTORADIOBUTTON |
-                    WS_GROUP | WS_TABSTOP,150,30,27,10
-    CONTROL         "&Curr",IDC_CHOOSE_CURR,"Button",BS_AUTORADIOBUTTON,185,
-                    30,25,10
-    CONTROL         "E&xp",IDC_CHOOSE_EXP,"Button",BS_AUTORADIOBUTTON,220,30,
+                    WS_GROUP | WS_TABSTOP,345,33,27,10
+    CONTROL         "&Curr",IDC_CHOOSE_CURR,"Button",BS_AUTORADIOBUTTON,380,
+                    33,25,10
+    CONTROL         "E&xp",IDC_CHOOSE_EXP,"Button",BS_AUTORADIOBUTTON,415,33,
                     25,10
-    PUSHBUTTON      "&View",IDC_CHOOSE_VIEW,255,30,20,10,WS_GROUP
+    PUSHBUTTON      "&View",IDC_CHOOSE_VIEW,450,30,25,15,WS_GROUP
     CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,0,28,
-                    317,1
+                    517,1
     CONTROL         "",IDC_LISTVIEW_POS,"Static",SS_BLACKFRAME | NOT
-                    WS_VISIBLE,7,41,303,134
-    ICON            IDI_CYGWIN,IDC_STATIC,290,0,20,20
+                    WS_VISIBLE,7,45,503,234
+    ICON            IDI_CYGWIN,IDC_STATIC,490,0,20,20
     LTEXT           "Select the packages you want setup to install.",
                     IDC_STATIC,21,9,239,16,NOT WS_GROUP
     LTEXT           "Select Packages",IDC_STATIC_HEADER_TITLE,7,0,258,8,NOT
                     WS_GROUP
-    LTEXT           "",IDC_CHOOSE_VIEWCAPTION,280,30,30,10
+    LTEXT           "",IDC_CHOOSE_VIEWCAPTION,480,33,30,10
 END


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]