delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/03/19:10:12

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
Message-ID: <20030603230951.86886.qmail@web14607.mail.yahoo.com>
Date: Tue, 3 Jun 2003 16:09:51 -0700 (PDT)
From: Biju G C <bijumaillist AT yahoo DOT com>
Subject: RE: Inability to resize/rearrange controls/windows
To: cygwin AT cygwin DOT com
In-Reply-To: <004a01c32a11$204131e0$7e0aa8c0@HQSHANKAR>
MIME-Version: 1.0

--- Shankar Unni <shankar AT cotagesoft DOT com> wrote:
> No, not dragging the window itself. I mean when you *resize* the window
> by clicking on the top edge of the top border and dragging the border
> down, after a certain minimum size, the window moves its own bottom
> border down while you're dragging the top border down, preserving the
> size. The effect is very weird.  I'm running WinXP SP1.
> 


nice catch !!!
We can correct that by more coding. 
We should keep track of previous window position, 
or just coordinates of top left corner.

and use that in the code at onresize() function.
as X,Y arguments for SetWindowPos() 

To avoid the trouble we can call this bug as a feature  !!!

Cheers
Biju

> > -----Original Message-----
> > From: Biju G C [mailto:bijumaillist AT yahoo DOT com] 
> > Sent: Tuesday, June 03, 2003 12:37 PM
> > To: Shankar Unni
> > Subject: Re: Inability to resize/rearrange controls/windows
> > 
> > 
> > --- Shankar Unni <shankar AT cotagesoft DOT com> wrote:
> > > Biju G C wrote:
> > > 
> > > > I really appreciate any comments.
> > > 
> > > Looks interesting, with a bizarre quirk: if you try to resize below 
> > > its
> > > minimum size, it regrows the window on the other side so 
> > that it says 
> > > the minimum size. Any way to just not allow the resize 
> > below the minimum 
> > > size?
> > 
> > R U talking about the flickering effect ?
> > 
> > Try 
> > On Windows Control Panel > Display > Appearance > Effects 
> > Uncheck "Show window contents while dragging"
> > 
> > for this option checked, 
> > I dont know whether there is a way to find the 
> > user is continuing the resizing or not.
> > 
> > Many windows programs (including MS-Word) solve it by doing nothing 
> > if size is minimum than required
> > 
> > effect will be like myapp.exe in c5r4.zip at 
> > http://www.geocities.com/bijumaillist/win32/
> > 
> > I see MSN 
> > Messenger doing this in a better way.
> > (the chat window, not the buddy list window)
> > 
> > code for checking minimum size is near line 317 
> > of myapp.c in function onresize()
> > and it is called from  DlgProc() at case WM_SIZE: 
> > 
> > u can try modifying it.
> > 
> > cheers
> > Biju
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync to 
> > Outlook(TM). http://calendar.yahoo.com
> > 
> > 
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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