Posted by member 256241 on 2007-05-09 14:31:31 link

I did that a while ago. Syntax can be found in the docs, but it's slightly more complex than a normal hook, where you define the width and height as well as give the bangs for hooking and moving.

*Popup !hook:0:0:121:20 !XtrayLsBoxHook %%!Xtraymove%%
^NOT 100% accurate
A problem I had is that I couldn't put it into the same popup as !PopupTasks if used as the root, ie I could have a tasks entry which expands and the tray visible... In the end I decided to scrap that system in favour of using xTaskbar.

Additionally if you use an alpha mapped image for the popup, the area under the hooked item CANT be magic pink, else it'll not draw the hooked module.


If you plan on having tray and tasks in the same popup I'd suggest doing a little scripting and simply toggling/moving both an xTray and xTaskbar.


If that seems like a big task you can rip the code out of my shell: http://www.thewhyers.com/xander/funky.rar
vid here: http://www.thewhyers.com/xander/3.swf