Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# SystemFonts

C# SystemFonts

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Luther Baker
    wrote on last edited by
    #1

    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

    H 1 Reply Last reply
    0
    • L Luther Baker

      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

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Control.Font uses the DEFAULT_GUI_FONT, the stock object (see GetStockObject in the PSDK) for controls, menus, etc., if available. You can get the font used specifically for menus from SystemInformation.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-----

      L 1 Reply Last reply
      0
      • H Heath Stewart

        Control.Font uses the DEFAULT_GUI_FONT, the stock object (see GetStockObject in the PSDK) for controls, menus, etc., if available. You can get the font used specifically for menus from SystemInformation.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-----

        L Offline
        L Offline
        Luther Baker
        wrote on last edited by
        #3

        Thanks.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups