This is the mail archive of the
mailing list for the Cygwin project.
Re: [PATCH] Setup: make "Local Dir" and "Root" dialogs resizeable
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 17 Dec 2003 12:52:36 -0500 (EST)
- Subject: Re: [PATCH] Setup: make "Local Dir" and "Root" dialogs resizeable
- References: <Pine.GSO.email@example.com>
- Reply-to: cygwin-apps at cygwin dot com
On Sun, 7 Dec 2003, Igor Pechtchanski wrote:
> I realized it's been a while since I sent a patch to setup to this list,
> so here's one that makes the "Root Directory" (IDD_ROOT) and "Local
> Package Directory" (IDD_LOCAL_DIR) dialogs resizeable. Unfortunately,
> this required a change to resource.h - apologies to setup developers with
> slow machines. One caveat to this patch is that it will not resize the
> "Install For" and "Default Text File Type" group boxes (although it will
> resize the radio buttons inside the boxes)[*]. As usual, the ChangeLog is
> [*] This was done intentionally, in hopes that there will eventually be a
> change to ControlAdjuster::ControlInfo::adjust that will loop through
> *all* dialog items with a given id. Frank Richter claimed it was possible
> (in <http://cygwin.com/ml/cygwin-apps/2003-10/msg00260.html>), but try as
> I might searching MSDN and the web, I couldn't figure out how to retrieve
> more than one dialog control with a particular id, so any pointers are
> appreciated. In the meantime, you can comment out the IDC_ROOT_SYSTEM,
> IDC_ROOT_USER, IDC_ROOT_TEXT, and IDC_ROOT_BINARY lines in root.cc to
> prevent those controls from moving.
> 2003-12-07 Igor Pechtchanski <firstname.lastname@example.org>
> * resource.h (IDC_GROUPBOX): New control id.
> * res.rc (IDD_ROOT): Change the control id of the group boxes
> to IDC_GROUPBOX.
> (IDD_LOCAL_DIR): Ditto.
> * root.cc (RootControlsInfo): Position specifiers for root dir
> selection dialog controls.
> * localdir.cc (LocalDirControlsInfo): Position specifiers for
> local dir selection dialog controls.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton