Checkout the screenrects function in the dictionary. You should be able to use it to see if your window rect is within the working rect of any active monitor. If it isn't then I'd set the topleft of the window to a default value.
Terry... On 18/04/09 3:29 PM, "Bill Vlahos" <[email protected]> wrote: > My application saves the position of the window the last time it was > saved. This works great as long as the screen sizes and positions > don't change. For example, if the laptop is connected to an external > monitor and the window position is saved while it is on the external > monitor but the next time the program opens the external monitor isn't > plugged in. > > How do people handle widow position management when the saved position > isn't available? > > Bill Vlahos > _______________________________________________ > 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 _______________________________________________ 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
