Window and screen management: windowBoundingRect

Paul Dupuis paul at researchware.com
Thu Oct 4 12:56:25 EDT 2018


I am writing some code to intelligently deal with a multi-window
application for people with multiple monitors. These are things like
remembering the last window position when quitting and if when starting
up that position was on a secondary or more monitor, positioning the
window to the main monitor.

However, I am now trying to deal with window minimization or
maximization. The windowBoundingRect global property controls the bounds
of a window when maximized, but this (in LC9.0.1) is a singular
property. Shouldn't there be a version called the windowBoundingRect[s]
that lets you set the bounds on monitors other than the default or is it
just assumed that on all monitors other than the default that the
windowBoundingRect equals the screenRect for that monitor?

Has anyone out there done a library for window management on multiple
monitor setups?





More information about the use-livecode mailing list