This is the mail archive of the
mailing list for the Cygwin project.
RE: Setup window size: a suggestion
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Robert Collins <rbcollins at cygwin dot com>
- Cc: cygwin at cygwin dot com, "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- Date: Sun, 8 Sep 2002 20:39:52 -0400 (EDT)
- Subject: RE: Setup window size: a suggestion
- Reply-to: cygwin at cygwin dot com
On 9 Sep 2002, Robert Collins wrote:
> On Mon, 2002-09-09 at 04:14, Igor Pechtchanski wrote:
> > On Sun, 8 Sep 2002, Gary R. Van Sickle wrote:
> > But isn't that exactly what my suggestion will allow to avoid? If the
> > window size is pre-selected (in fact, with a command-line option, you may
> > even know it before any windows are created), dynamic resizing is not an
> > issue. The window will still be non-resizeable, but will have a different
> > (fixed) size depending on the option. This could possibly be accomplished
> > by having multiple property sheet definitions and choosing the correct one
> > at run-time (I'm not too up-to-date on windows programming, so please
> > correct me if I'm wrong).
> We have command line option support, so adding a integer pair grabber
> isn't a big deal. I'll let Gary answer as to the overhead multiple
> window defs would incur (He's the w32 GUI wizzard :] ).
> I suspect that knowing the size in advance doesn't help much, as we
> still have the resizing logic to manage on all the pages.
What resizing logic? I thought that if the size is fixed, the positions
of all the elements of a dialog window are determined in advance, even at
compile time... And that it was just a question of choosing one of the
pre-compiled layouts at runtime, when the size is determined... My
suggestion was not to allow the user to specify ANY size on the command
line, it was to let the user specify, for example, --window=large vs.
--window=small, or something like that. This way the programmer would
have control of the window sizes. But I'm probably still missing
something about the design of setup. I'll browse the code some more to be
able to make more intelligent suggestions, I guess.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html