delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/03/16:11:45

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: <20030603201130.82668.qmail@web14609.mail.yahoo.com>
Date: Tue, 3 Jun 2003 13:11:30 -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: <bbijr0$hkq$2@main.gmane.org>
MIME-Version: 1.0

--- 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

--
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