1. Computing

By design, a Delphi form's "Caption" property is drawn by Windows, on the Caption Bar of a window next to the system menu.

If you want to add some custom text on the caption bar of a form, without changing the Caption property of the form you need to handle one special Windows message: WM_NCPAINT.

Read the full article to learn How to Draw Custom Text on a Form's Caption Bar

Related : Handling Windows Messages | Customizing the System Menu | How to Hide a Form's Title Bar (Caption)

September 17, 2009 at 7:17 am
(1) Martin says:

But this solution works not with Vista/Win7 and enabled Aero.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.