Forum: Sonstige Fragen zu Delphi
Delphi
by Sinspin,
29. Jun 2022
The idea was just to ignore the size change and make sure the client area stays at the same location. But, that idea went too short for been practicable :oops:
However, maybe would it be a better solution to wait until the program gets maximized,
then capture the form location and size, set the WindowState of the form back to normal and set the window location and size by youself.
Then will...
Forum: Sonstige Fragen zu Delphi
Delphi
by Sinspin,
29. Jun 2022
Hey,
I don't think that you can prevent that, it's a Windows behaviour.
If you look for a workaround, one solution would be to align your client area to top or the bottom of the form to make sure the gap is not interfering. (Top align is the default behaviour)
Or, you draw the whole content by yourself, inclusive the window title bar.