How to 'intercept' the Context Menu? (run my own instead)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jathri
Junior Member
Junior Member
Posts: 8
Joined: 2016-08-29, 09:11 UTC

How to 'intercept' the Context Menu? (run my own instead)

Post by *jathri »

Hello,
can I please somehow intercept moment when context menu is about to display, prevent it from displaying and run my own (made in autohotkey)?
I do not even need context of this menu (if it is somehow passed). Just to intercept it.
I will be grateful for any help you can provide.
jathri
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can subclass TC window and replace context menu on WM_INITMENUPOPUP message with AHK, there is no easier ways...
Post Reply