I'm not sure if I understand you correctly - do you mean something like this?You could try implementing a more multitasking-friendly version of graf_slidebox(). I did something similar for graf_watchbox(), where I looped around an evnt_multi()-call until the mouse-button was released. I then called my normal event-handler for all other events than button-events.
while( not quit )
{
if( button pressed && mouse under object )
{
call my slider box handler()
}
else
{
evnt_multi()
}
}
--
----------------------------------------------------------------------------
MiKRO Atari XE/XL/Mega STE/Falcon060 http://mikro.atari.org
----------------------------------------------------------------------------