Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2026-03

Strange error when window becomes too big

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

I get the following error:

---
Position range overflow in .SendMoveSizeMessages: Left=12, Top=32784.

Press OK to ignore and risk data corruption.
Press Abort to kill the program.
---

Seems like there is a smallint somewhere instead of an integer, or is this 16-bit integer limit intentional ? IOW is it a bug, or a known limitation ?

Michael.

Reply by email

Marc Weustink
to Michael Van Canneyt

Iirc the windows coordinates are limited to 32k

Marc

Michael Van Canneyt wrote 15 lines
I get the following error: --- Position range overflow in .SendMoveSizeMessages: Left=12, Top=32784. Press OK to ignore and risk data corruption. Press Abort to kill the program. --- Seems like there is a smallint somewhere instead of an integer, or is this 16-bit integer limit intentional ? IOW is it a bug, or a known limitation ? Michael.

Reply by email