Posted by member 71746 on 2003-11-16 19:03:32 link

psynapse, i was using *ModuleHook !SystrayHook and *NetLoadModule systray2-2.0.1, and using lsbox-3.0-pre

The problem wasn't with LSBox, it's that Systray2-2.0.1 and 2.0 are too dang efficient in their loading - they get the tray icons loaded before litestep moves on to the next instruction. This resulted in all the icons being added and triggering their OnAdd's before mzScript was loaded to register the custom !Bangs the OnAdd's call, and before the tray's LsBox had been created to receieve the resize/move commands.

As I say though, the solution of using the older systray2-lsbox and loading it using a *NetInstallModule in the theme.rc and *WharfModule in the box file, works perfectly. Now we just need the dudes working on Systray2 to add a SystrayWaitForBoxHook command to make the tray wait for a !SystrayHook to be called before loading the tray icons, then we can use the up-to-date systray2 module to achieve the desired functionality :)