When resizing a form, wrong ClientHeight is retrieved (increased by MainMenu height)
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 you have a MainMenu on the form, the ClientHeight is temporarily wrongly increased by MainMenu height.
Steps to reproduce:
See the attached example project. Try to resize the form's width. You'll see that Resizing procedures are called with 2 different ClientHeight values.
Wrong value: wcfClientRectNeedsUpdate is in FWinControlFlags.
Correct value: wcfClientRectNeedsUpdate isn't in FWinControlFlags.
Additional information:
Tested on win32.
Mantis conversion info:
- Mantis ID: 29310
- Build: trunk
- Version: 1.7 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 51115 (#86ee218a)
- Target version: 1.6