Help with getting a HMENU for the Right-Click Context Menu
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
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. :)