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. How to change menu caption?

How to change menu caption?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
4 Posts 4 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.
  • D Offline
    D Offline
    dungpapai
    wrote on last edited by
    #1

    Hi, I need to change menu caption while the app is running. Please help me. Thanks

    Papais

    P 1 Reply Last reply
    0
    • D dungpapai

      Hi, I need to change menu caption while the app is running. Please help me. Thanks

      Papais

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      Use ModifyMenu, refer this thread[^].

      Prasad Notifier using ATL | Operator new[],delete[][^]

      N 1 Reply Last reply
      0
      • P prasad_som

        Use ModifyMenu, refer this thread[^].

        Prasad Notifier using ATL | Operator new[],delete[][^]

        N Offline
        N Offline
        NiceNaidu fo
        wrote on last edited by
        #3

        if your application is a simple SDI or MDI, Add this statement,where ever you want to change the menu title. ::SetWindowText(this->m_pMainWnd->m_hWnd,"TestCaption");

        Appu.. "My blood group is not B+.But I have it my blood"

        H 1 Reply Last reply
        0
        • N NiceNaidu fo

          if your application is a simple SDI or MDI, Add this statement,where ever you want to change the menu title. ::SetWindowText(this->m_pMainWnd->m_hWnd,"TestCaption");

          Appu.. "My blood group is not B+.But I have it my blood"

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

          Of course not prasad_som he doesnt need ;)


          WhiteSky


          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