Active title bar font

  • Thread starter Thread starter Jan Pavel
  • Start date Start date
J

Jan Pavel

Hi,

I'm writing a windows forms application in C# and I need to know active
title bar font type and size. Any opinions how to obtain it in the code?

Thanks
JP
 
Caption is defined by system parameters in Windows. If information in
SystemInformation is not sufficient you might consider using
Win32 API SystemParametersInfo - check SPI_GETNONCLIENTMETRICS action and
related NONCLIENTMETRICS structure, which has entry for logFont used for
caption.

HTH
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top