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. Context Menu on Context Menu

Context Menu on Context Menu

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelpquestion
2 Posts 2 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.
  • L Offline
    L Offline
    Lilian Chan Grant
    wrote on last edited by
    #1

    My app is COM using WTL. On the main menu, we have a Reports pulldown menu. On the Reports options, there are right arrows indicating another pulldown menu. For other dialogs, we have buttons on the bottom (standard OK, Apply, Cancel), including a Reports button. They tried to implement it so that a context menu appears upon pushing the Reports button, but they had no luck. Right now that bottom button just brings up another dialog displaying options. Has anyone done this kind of stuff before? Please help if you can ;) Thanks, Lilian

    M 1 Reply Last reply
    0
    • L Lilian Chan Grant

      My app is COM using WTL. On the main menu, we have a Reports pulldown menu. On the Reports options, there are right arrows indicating another pulldown menu. For other dialogs, we have buttons on the bottom (standard OK, Apply, Cancel), including a Reports button. They tried to implement it so that a context menu appears upon pushing the Reports button, but they had no luck. Right now that bottom button just brings up another dialog displaying options. Has anyone done this kind of stuff before? Please help if you can ;) Thanks, Lilian

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      That's simple, check out the Buttons section at this site for menu button samples. It just involves handling the WM_COMMAND message and calling TrackPopupMenu(). --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies."  -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

      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