Einzelnen Beitrag anzeigen

Benutzerbild von Sinspin
Sinspin

Registriert seit: 15. Sep 2008
Ort: Dubai
618 Beiträge
 
Delphi 10.3 Rio
 
#3

AW: How to prevent window title bar height changes when app is maximized

  Alt 29. Jun 2022, 07:55
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.
Stefan
Nur die Besten sterben jung
A constant is a constant until it change.
  Mit Zitat antworten Zitat