From mint-bounce@lists.fishpool.fi Sun Oct 16 00:09:44 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Message-ID: <1129414071.43517db79692b@webmail2.utbm.fr> Date: Sun, 16 Oct 2005 00:07:51 +0200 From: "olivier.landemarre@utbm.fr" To: MiNT List Subject: Re: [MiNT] some gem question References: <433E5857.80605@hysteria.sk> <1128178738.433ea432eff28@webmail1.utbm.fr> <20051001155230.GA22982@hysteria.sk> <4350F51E.8080209@hysteria.sk> <1129390467.5862.186.camel@linuxbox> <4351120A.4010207@hyst In-Reply-To: <1129413519.13062.17.camel@taro.coolrunningconcepts.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.8 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: Olivier.Landemarre@utbm.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00 X-Spam-Level: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-902.st.uni-magdeburg.de id j9FM9ieq015655 Selon Evan Langlois : > On Sat, 2005-10-15 at 19:19 +0200, olivier.landemarre@utbm.fr wrote: > > > This is simply impossible to do what you want! So not try to do this, > because > > AES will never send you message for button click in the sizer part and > never > > send you message for redraw this part, and you never be able avaible rect > to > > redraw for this part. > > So no it's impossible. > > You'll get a mouse down event right? Pass mouse coords to objc_find ... > lock screen, start a mouse watch rectangle to track the mouse and do do > whatever fancy resize graphics/animation is required, then on mouse up, > stop mouse tracking, send self a redraw just in case, and unlock screen. > > As long as the sizer is in the working area of the window it should > work. But it is not if it wan't replace the sizer, this is outside, so impossible, you have true only way to do this is to be in working area, so all windframe should be redraw not only sizer olivier --