Futurebasic/Language/Reference/fbgetscreenrect

= FBGETSCREENRECT function =

Revised
February, 2002 (Release 6)

Description
Before OS X, we were able to extract the content rectangle of a window using the following code:

This no longer works because the window pointer and the grafport have been separated into different structures. You can substitute this simple function in your programs and it will work in all supported versions of the system software.

or...