All Manuals > CAPI User Guide > 10 Defining Interface Classes


10.6 Querying and modifying interface geometry

The functions screen-monitor-geometries , screen-internal-geometries and pane-screen-internal-geometry support the notions of monitor geometry (which includes "system" areas such as the Mac OS X menu bar and the Microsoft Windows task bar) and internal geometry (which excludes the system areas).

Note that code which relies on the position of a window should not assume that a window is located where it has just been programmatically displayed, but should query the current position by top-level-interface-geometry . This is because the geometry includes system areas where CAPI windows cannot be displayed.

10.6.1 Support for multiple monitors

CAPI User Guide (Windows version) - 30 Aug 2011