Work like taskbar. Thread last updated on 2003-05-28 22:28:17

Posted by member 34261 on 2003-05-28 19:03:12

Hi, I have been customizing the VodkaMartini (Second) theme for a while to fit my likings, and I need help with one last thing.

I have all the little menus lined up at the bottom of my screen as a taskbar would be. However, when I maximize any window, the bottom of it goes underneath the menus. I would like to make it so when I maximize a window, it does not go below a given Y coord. Is there an easy way to do this?

Thanks a bunch.

Posted by member 2112 on 2003-05-28 20:11:10 link

This is controlled by your desktop module.

If you are using desktop2.dll it can be done like this
SetDesktopArea true
SDALeft 0
SDARight 0
sdatop 0
sdabottom 20


If you are using jdesk.dll it can be done like this
jDeskWorkArea "0,0,0,-20"


Both these examples leave a 20 pixel space at the bottom of the screen that a maximised application will not cross over.

Read the docs for more information about how to use them.

Posted by member 34261 on 2003-05-28 21:57:26 link

Where do I put this code? I have already loaded the module in step.rc. I tried putting the appropriate line under that, however it did not work. Up to this point I had only been editing vars.

Posted by member 34261 on 2003-05-28 22:28:17 link

Nevermind that last comment. I have found out what my problem was. Stupidity on my part. ;)