[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



Selon Evan Langlois <Evan@CoolRunningConcepts.com>:

> 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

--