tasks in lsbox Thread last updated on 2003-05-28 10:53:09

Posted by member 1783 on 2003-05-21 12:16:45

i'm having a weird problem which i can't solve :(
i'm trying to load tasks in a box, but there's strange misbehaviour with the icons: when i close a window the icon stays there, instead of dissapearing. actually, the icon, which is the last in tasks, duplicates itself so instead of an icon dissapearing i get two icons. it's difficult to explain so HERE's an example.

please help,
Egonz

Posted by member 562 on 2003-05-21 13:47:38 link

dunno, but tasks seem to behave differently in a box depending on the OS you're on. remember i had sortof similar problems same time ago. would perhaps "LSBoxDisableFX" sort any effect?

Posted by member 1783 on 2003-05-21 14:41:50 link

i'm using xp. when i put LsBoxDisableFX into the box-file then the whole box dissapeared.

Posted by member 7 on 2003-05-22 04:21:59 link

How do you put tasks into the box? Do you !hook it?

Posted by member 1783 on 2003-05-22 08:47:33 link

Yes... i think.
Taskbar.box

LsBoxName Taskbar
LsBoxX 2
LsBoxY -24
LsBoxHeight 22
LsBoxWidth 400
LsBoxBackground magic_pink.png
LsBoxUnique

*ModuleHook !TasksBoxHook

Step.rc

LoadModule "$ModulesDir$tasks.dll"
LoadModule "$ModulesDir$lsbox.dll"

*LsBoxCreate "$ConfigDir$taskbar.box"

;TasksDockWindow LsBoxClass
TasksX 0
TasksY 0
TasksWidth 22
TasksHeight 22
TasksBgImage box_bg.png

Everything is in the same order i have them in the real files.

Posted by member 1783 on 2003-05-22 13:41:48 link

btw, what does LsBoxUnique do? it's not explained in the docs (at least i didn't find it).

Posted by member 333 on 2003-05-23 02:52:24 link

Unique makes sure you can't create several equal boxes.

Posted by member 1783 on 2003-05-25 11:39:57 link

thnx tuckndar.
but this is really problematic! i have compared my step.rc and others, my box-file and others but no go :(
please help, i'm losing my fate here!!!

my step.rc is HERE and box is HERE.

Posted by member 1783 on 2003-05-28 10:53:09 link

WHOOAAA, JIPEEE!!!!!
I hadn't defined LsBoxBackgroundOffs. That's all! Thanks everybody for help, especially jugg!