Search code examples
delphidelphi-xe2windows-10

MDI window title in Windows 10


I'm testing Delphi applications on Windows 10 and I was intrigued a difference in rendering the window frames on MDI forms.

It is the intention?

MDI title difference


Solution

  • I presume you are talking about the minimise, maximise and close buttons at the right hand end of the caption bar.

    These buttons are rendered by the system rather than Delphi and the behaviour is as designed. Microsoft deprecated MDI at least 15 years ago and so it's not at all surprising that they have not modified it to match the new style of Windows 10.

    So yes, what you are observing is to be expected, and is how Microsoft intend the non-client area of MDI children to be rendered.