delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/02/10:23:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: =?iso-8859-1?Q?Martin_R=F6hrig?= <Martin DOT Roehrig AT gmx DOT de>
To: <cygwin AT cygwin DOT com>
Subject: RE: Setup.exe and window resizing
Date: Tue, 2 Jul 2002 16:22:28 +0200
Message-ID: <NEBBKENGBEADPBIEADBFCELPDDAA.Martin.Roehrig@gmx.de>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019