G'day all,
My application remembers where it was previously by doing a simple save of the current geometry.
Top/Left/Width/Height. This appears to have worked well for a while now, but one of the users has
just reported he ordinarily uses a dual head setup with my little app on the right hand screen.
Recently after he had unplugged the right hand screen, the app proceeded to put itself there anyway
(off the edge of the accessible desktop). Is there an easy way to detect the current screen width,
so if I sense my geometry is going to be off the edge I can provide a sane default instead?
This app runs on Win32, GTK2 & Carbon, so I assume the problem will manifest itself on all three,
but in this instance it's running on a Mac.
Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus