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. Changing Popup menu caption

Changing Popup menu caption

Scheduled Pinned Locked Moved C / C++ / MFC
questiontoolshelp
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
    Abhijeet Pathak
    wrote on last edited by
    #1

    Hi, as all know, we can easily change text of menu items in respective OnUpdate() function. But this is (i think) possible for only Menu Items and not for Sub Menus. I have following menu structure Tools->Application and few sub menu items in this Application menu. How can i know when the 'Application' menu item is going to be drawn or updated, otherwise how can I change text of that Item? Please help me out... thanx

    K T 2 Replies Last reply
    0
    • A Abhijeet Pathak

      Hi, as all know, we can easily change text of menu items in respective OnUpdate() function. But this is (i think) possible for only Menu Items and not for Sub Menus. I have following menu structure Tools->Application and few sub menu items in this Application menu. How can i know when the 'Application' menu item is going to be drawn or updated, otherwise how can I change text of that Item? Please help me out... thanx

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      A shure way is to delete the old menu items, and add the new ones.

      Greetings from Germany

      1 Reply Last reply
      0
      • A Abhijeet Pathak

        Hi, as all know, we can easily change text of menu items in respective OnUpdate() function. But this is (i think) possible for only Menu Items and not for Sub Menus. I have following menu structure Tools->Application and few sub menu items in this Application menu. How can i know when the 'Application' menu item is going to be drawn or updated, otherwise how can I change text of that Item? Please help me out... thanx

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        tell me is that menu is created dynamically or you getting it from resource file

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief And You

        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