> 
> And i do not want to have a new hotkey to do this, i just wanted to
> have an "event like" stuff and found this way to be automatically
> called when the bar is shown !


Make sure your logic looks like this
local newwidth = wdith of activce window
if (current bar width != newwidth) do
cl.setwindow...
cl.refresh...
endif

The idea is to avoid getting into an infinite loop in refresh, if you 
are using the tooltip method.  YOu could also try a hookwindowevents or 
the timer event that sgp suggests.



Reply via email to