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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to change window caption font

How to change window caption font

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicsjsontutorialquestion
3 Posts 3 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.
  • C Offline
    C Offline
    Chris Vischer
    wrote on last edited by
    #1

    Hi everybody, is there an easy way to change the window caption font for modal or modeless dialog boxes? I just want to change the font and want MFC to do the rest of the work, like drawing the text and the min/max buttons etc.. TIA, Chris

    J L 2 Replies Last reply
    0
    • C Chris Vischer

      Hi everybody, is there an easy way to change the window caption font for modal or modeless dialog boxes? I just want to change the font and want MFC to do the rest of the work, like drawing the text and the min/max buttons etc.. TIA, Chris

      J Offline
      J Offline
      jerry0davis
      wrote on last edited by
      #2

      There is code either on this site, or on www.codeguru.com (yuk!) that you could talor to your needs. Some change the background colour, and others allow more than one line of text. It's time for me to go home so I'm afraid you'll have to look for the articles yourself! HTH Jerry

      1 Reply Last reply
      0
      • C Chris Vischer

        Hi everybody, is there an easy way to change the window caption font for modal or modeless dialog boxes? I just want to change the font and want MFC to do the rest of the work, like drawing the text and the min/max buttons etc.. TIA, Chris

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        No, there is no way to change the caption font and allow Windows or MFC to do the rest of the work for you. There are, however, several classes available here and at codeguru to do this, to make it easier to implement.

        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