Sarah Reichelt wrote:
Check out the windowBoundingRect. It gives you the usable rectangle
allowing for the dock or taskbar. However with Macs, it does not allow
for the menu bar, so you may need increase the 2nd item to stop your
windows disappearing under the menu bar.
Maybe that was an old bug that's been fixed? I just ran "put the
windowBoundingRect" in MC on my 15" PB and got "0,22,1234,854", which
accomodates 22 pixels for the menu bar.
I think it has only been partially fixed :-(
In a Rev stack, the menu bar takes up 22 pixels (or is it 26), but if
you move a window right to the top of the screen and check it's top,
it will be 44, so the 22 reported in the windowBoundingRect is
insufficient.
D'oh! Of course, to accomodate the window's drag region.
Fortunately on Mac it's a fixed size, and on Win can be obtained from
the registry.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution