Form bounds are not scaled if show on secondary monitor for the first time.
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
If the form is shown the first time on a secondary monitor with a different DPI settings, the WM_DPICHANGED message is sent within UpdateBounds when BoundsLockCount>0 which means the bounds are not scaled.
Steps to reproduce:
See the attached project.
Mantis conversion info:
- Mantis ID: 32162
- OS: Windows
- OS Build: 10
- Platform: win32
- Version: 1.9 (SVN)
- Fixed in revision: 55530 (#3d5bee5c)