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. About Edit box

About Edit box

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
5 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.
  • S Offline
    S Offline
    Saday Sarkar
    wrote on last edited by
    #1

    Hi all, I need to change the font of Edit box , But I have no idea how to do it.PLz help. Thanks to all Saday Saday Chand Sarkar Trek Technology(s)Pte.Ltd.

    H A 2 Replies Last reply
    0
    • S Saday Sarkar

      Hi all, I need to change the font of Edit box , But I have no idea how to do it.PLz help. Thanks to all Saday Saday Chand Sarkar Trek Technology(s)Pte.Ltd.

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      use SetFont(); CEdit m; m.SetFont();_**


      **_

      whitesky


      1 Reply Last reply
      0
      • S Saday Sarkar

        Hi all, I need to change the font of Edit box , But I have no idea how to do it.PLz help. Thanks to all Saday Saday Chand Sarkar Trek Technology(s)Pte.Ltd.

        A Offline
        A Offline
        Amar Sutar
        wrote on last edited by
        #3

        Use CFont; CFont font.CreateFont(nFontSize, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("Arial")); Using object of Edit Ctrl call SetFont() Regards Amar:)

        H S 2 Replies Last reply
        0
        • A Amar Sutar

          Use CFont; CFont font.CreateFont(nFontSize, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("Arial")); Using object of Edit Ctrl call SetFont() Regards Amar:)

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          or one good example see CFont FontEdit; CFontDialog m_dlg; if(m_dlg.DoModal()==IDOK) { FontEdit.CreateFontIndirect(&m_dlg.m_lf); m_Edit.SetFont(&FontEdit); }_**


          **_

          whitesky


          1 Reply Last reply
          0
          • A Amar Sutar

            Use CFont; CFont font.CreateFont(nFontSize, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, _T("Arial")); Using object of Edit Ctrl call SetFont() Regards Amar:)

            S Offline
            S Offline
            Saday Sarkar
            wrote on last edited by
            #5

            Yes I got . Thanks a lot. Saday Chand Sarkar Trek Technology(s)Pte.Ltd. -- modified at 3:04 Thursday 8th June, 2006

            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