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. Help with getting a HMENU for the Right-Click Context Menu

Help with getting a HMENU for the Right-Click Context Menu

Scheduled Pinned Locked Moved C / C++ / MFC
data-structureshelptutorialquestion
1 Posts 1 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.
  • J Offline
    J Offline
    JavaTony
    wrote on last edited by
    #1

    Hi, I am trying to screen capture right click context menu. I am using GetMenu, GetSubMenu, and GetMenuItemInfo APIs to capture standard application menu. Now, I want to capture right click context menu, but I don't know how to get a handle to the context menu(HMENU). Does windows generate a window message and put it on the message queue when the right-click context menu pops up? If so, could you give me some hints how to utilize the message to get a handle of the pop-up menu. If you have any tips, pointers, or samples how to do this, could you help me. Thank you very much in advance. :)

    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