[Lazarus] IDE window positions
DrDiettrich1 at aol.com
Mon Dec 20 16:18:06 CET 2010
Sven Barth schrieb:
> On 18.12.2010 12:23, Hans-Peter Diettrich wrote:
>> In my multi-monitor environment (Win7) the second (upper) monitor has
>> negative Y coordinates. This seems to prevent IDE windows restored to
>> that monitor. I could not figure out whether the negative coordinates
>> are supplied by the OS/widgetset, or are calculated by the LCL.
> The negative values should be returned by Windows, as the main monitor
> (the one with the taskbar on it) always has the upper left coordinates
> (0, 0) there.
Right. This means that TScreen should not only have a screen width and
height, but also an origin - best a complete BoundsRect.
More information about the Lazarus