C# SystemFonts
-
Hi, SystemColors provides access to user specified system colors. Is there such a class for user specified system fonts? IE: Message Box? Menu, Selected Items, Active Title Bar, Inactive Title Bar? Window Text? Thanks, -Luther
-
Hi, SystemColors provides access to user specified system colors. Is there such a class for user specified system fonts? IE: Message Box? Menu, Selected Items, Active Title Bar, Inactive Title Bar? Window Text? Thanks, -Luther
Control.Font
uses theDEFAULT_GUI_FONT
, the stock object (seeGetStockObject
in the PSDK) for controls, menus, etc., if available. You can get the font used specifically for menus fromSystemInformation.MenuFont
. As far as the caption bar fonts go, there isn't any managed way to do this.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
Control.Font
uses theDEFAULT_GUI_FONT
, the stock object (seeGetStockObject
in the PSDK) for controls, menus, etc., if available. You can get the font used specifically for menus fromSystemInformation.MenuFont
. As far as the caption bar fonts go, there isn't any managed way to do this.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
Thanks.