[PATCH] Setup: make "Local Dir" and "Root" dialogs resizeable
Igor Pechtchanski
pechtcha@cs.nyu.edu
Wed Dec 17 17:52:00 GMT 2003
Ping?
Igor
On Sun, 7 Dec 2003, Igor Pechtchanski wrote:
> Hi,
>
> 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
> below.
> Igor
> [*] 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.
> ==============================================================================
> ChangeLog:
> 2003-12-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
>
> * 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.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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
More information about the Cygwin-apps
mailing list