Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 10 Sep 2002 09:20:54 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Gary R. Van Sickle" cc: cygwin AT cygwin DOT com Subject: RE: Setup window size: a suggestion In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 9 Sep 2002, Gary R. Van Sickle wrote: > > On Sun, 8 Sep 2002, Gary R. Van Sickle wrote: > > > > > > As far as I remember the main purpose of resizable pages is to > > > > make the chooser resizable. > > > > > > My current thinking, if I can get it to work of course, is to have > > > that one page just be bigger, but not to have user-available > > > resizing. > > > > Doesn't MoveWindow () help with this issue ? > > MoveWindow() makes the window bigger, but does not change the positions > of the Next/Back/etc buttons. I think what I'll end up doing is > MoveWindow()'ing them as well, once I figure out where to MoveWindow() > them to. How about a simple rule: anchor the top elements (title, icon, category, etc) to fixed positions relative to the top of the window, and the bottom elements (buttons, user url input, etc) to fixed positions relative to the bottom of the window. On resize, recompute the positions relative to the new window size. If you want to be more discriminating, divide the elements of a dialog into top-left, top-right, bottom-left, and bottom-right, and follow the above rule. I know it sounds kind of obvious, but sometimes the obvious needs to be said, or it'll be overlooked. No offense intended or implied. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/