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

Re: Active title bar font by AlexS

AlexS
Fri Nov 07 15:06:02 CST 2003

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

"Jan Pavel" <Jan.Pavel@XIO.CZ> wrote in message
news:%23myAPmSpDHA.2456@TK2MSFTNGP09.phx.gbl...
> 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
>
>