Jump to content

Recommended Posts

Posted

I would like to ask a question about mouse hooking vs TrackPopupMenu...

it doesn't seem to work when you hook the:

WM_MOUSEMOVE

WM_RBUTTONDOWN

WM_RBUTTONUP

WM_CONTEXTMENU

messages to make a new global context menu.

when I rightclick anywhere on the desktop the popup menu appears but my application receives no further messages. It only disapears when I click on my window... and I would like it to disapear when I click anywhere on the desktop...

(my app has a very small window on the corner just for testing)

my application receives all messages above when the popup menu is not active, wherever I move the mouse or wherever I click... but as soon as I display the menu all messages get stuck... please help.


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...