How to disable right-click popup menu system wide
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I am using a windows hook(WH_JOURNALRECORD) to hook right-click message system-wide. Once I detect a right-click message in the hook procedure, I want to remove the right-click message from the system message queue and prevent it from passing on to any window under the cursor or desktop('cause that will bring up whatever right-click context menu. I have no success on this. Could you please show me how to achieve this? Thank you very much in advance.:)