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

Re: [MiNT] some gem question



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.