WM_COMMAND - How to get the identifier from another application menu?

I need to do this programmatically similar to Spy ++. I need only one WM_COMMAND message, so I can get the command identifier. Does anyone have a source? I really appreciate that ...

I am currently using Delphi ...

+3
source share
1 answer

Not a trivial job; you need global hooks. Read about how Spy ++ does it here . See Delphi implementation example here .

+2
source

Source: https://habr.com/ru/post/1763185/


All Articles