On 12/14/03 11:16 PM, Igor Couto wrote:

Thanks for the hint! I had already seen this, however, in my MacOS X system, with my screen set to a resolution of 1280x1024, the windowBoundingRect reports: "78,92,1205,1024".

Hmmm. I can understand "1024" (the bottom of the screen), and "1205" (the right of the screen minus the Dock - I guess). But why "78" and "92" for left and top, respectively?

I tried hiding the toolbar (both Text and Icons), thinking that it might be taking Revolution's own interface elements (such as the palettes) into consideration before reporting the 'useable' area of the screen, but no... nothing changed...

Your hunch is right -- you are getting back the windowBoundingRect after it is adjusted for Rev's palettes. Hiding the palettes won't change anything because they are still really there, they are just invisible. To get an accurate set of numbers, create a button with this script:


on mouseup
 answer the windowBoundingRect
end mouseup

Then suspend the development environment. You should see zeros in the first two places of the result when you click the button.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to