Title bar

  • Thread starter Thread starter Jon
  • Start date Start date
Hi Jon,

There are no properties for this as these are handled by the OS and are
applied system wide (Look at Control Panel -> Display -> Appearance). I
believe that you can hack around that by overriding the paint events to be
able to make your bars smaller or larger as needed by using transparency,
but I'm not sure if that is possible. The Code Project has quite a few
articles on transparent and/or custom drawn forms.

HTH,
~d
 
TitleBar:
SystemInformation.CaptionHeight

MenuBar:
SystemInformation.MenuHeight

You'll also need to add a combination of Border and Frame sizes available
from the same namespace. Which ones you'll need is dependant upon the
FormBorderStyle.
 
Back
Top