Posted by member 99 on 2003-09-15 19:44:12 link
Some modules (some of mine at least) also support real negative coordinates via "0%-200", which might allow you to do without the if.
Anyway, for the most common dual-monitor system (ie, second monitor on the right), this should always work.
For the general case, it depends where the module's origin is. Some modules always place the origin at the top, left corner of the desktop, in which case negative coords will always be off screen. Most modules make no adjustment (or incorrect adjustments) that make life difficult.
I think the most common is to use the top, left corner of the primary monitor when on top and the top, left corner of the desktop when on bottom. In this situation, there is no way to tell what coordinates will be off screen when they're on top with regular builds of litestep.
Unfortunately, I don't know what lsdynamic uses.
(and for another reason to place stuff outside of visible space, RabidVWM doesn't generate OnRepaint events when hidden, so if you want to use them but hide the VWM, you have to move it off screen instead)
Anyway, for the most common dual-monitor system (ie, second monitor on the right), this should always work.
For the general case, it depends where the module's origin is. Some modules always place the origin at the top, left corner of the desktop, in which case negative coords will always be off screen. Most modules make no adjustment (or incorrect adjustments) that make life difficult.
I think the most common is to use the top, left corner of the primary monitor when on top and the top, left corner of the desktop when on bottom. In this situation, there is no way to tell what coordinates will be off screen when they're on top with regular builds of litestep.
Unfortunately, I don't know what lsdynamic uses.
(and for another reason to place stuff outside of visible space, RabidVWM doesn't generate OnRepaint events when hidden, so if you want to use them but hide the VWM, you have to move it off screen instead)