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 / C++ / MFC
  4. Change Font of caption of dialog box ??

Change Font of caption of dialog box ??

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
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.
  • A Offline
    A Offline
    ana_v123
    wrote on last edited by
    #1

    How to change font of caption of a MFC dialog box ?? Any idea? Ana Keywords Font Caption of Dialog Box, Caption Font of Dialog Box, Dialog Box Caption Font

    B 1 Reply Last reply
    0
    • A ana_v123

      How to change font of caption of a MFC dialog box ?? Any idea? Ana Keywords Font Caption of Dialog Box, Caption Font of Dialog Box, Dialog Box Caption Font

      B Offline
      B Offline
      Barm
      wrote on last edited by
      #2

      u could try the following CFont font; font.CreateFont(0,0,0,0,FW_NORMAL,FALSE,FALSE,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH | FF_SWISS,"MS Shell Dlg"); ((CEdit*)GetDlgItem(IDC_EDIT1))->SetFont(&font); this will change the font in that particular edit box

      A 1 Reply Last reply
      0
      • B Barm

        u could try the following CFont font; font.CreateFont(0,0,0,0,FW_NORMAL,FALSE,FALSE,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH | FF_SWISS,"MS Shell Dlg"); ((CEdit*)GetDlgItem(IDC_EDIT1))->SetFont(&font); this will change the font in that particular edit box

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        But, I want to change Font of caption (title) of dialog box ??? Ana

        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