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. Duplicate Menu..

Duplicate Menu..

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • B Offline
    B Offline
    Brian Shifrin
    wrote on last edited by
    #1

    Anyone has handy library fuction to copy CMenu or HMENU??? Thanks, Brian P.S. I know how, just to lazy to iterate menues & submenus & states...

    L J 2 Replies Last reply
    0
    • B Brian Shifrin

      Anyone has handy library fuction to copy CMenu or HMENU??? Thanks, Brian P.S. I know how, just to lazy to iterate menues & submenus & states...

      L Offline
      L Offline
      lucy 0
      wrote on last edited by
      #2

      do you mean the resource? If so, open the *.rc file which contains the menu resource you want in visual studio while the destination project is opened. click on the resource ID, drag it to your destination project. That's it.

      B 1 Reply Last reply
      0
      • L lucy 0

        do you mean the resource? If so, open the *.rc file which contains the menu resource you want in visual studio while the destination project is opened. click on the resource ID, drag it to your destination project. That's it.

        B Offline
        B Offline
        Brian Shifrin
        wrote on last edited by
        #3

        >do you mean the resource? Nope Dynamic CMenu/HMENU....

        1 Reply Last reply
        0
        • B Brian Shifrin

          Anyone has handy library fuction to copy CMenu or HMENU??? Thanks, Brian P.S. I know how, just to lazy to iterate menues & submenus & states...

          J Offline
          J Offline
          John R Shaw
          wrote on last edited by
          #4

          No, but could you be more specific. Trust in the code Luke. Yea right!

          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