开发者

WM_COMMAND - How do I get an ID from another applications menuitem?

开发者 https://www.devze.com 2023-01-14 15:40 出处:网络
I need to do it programatically similar to Spy++.All I need is the one WM_COMMAND messag开发者_如何学编程e returned so I can retrieve the Command ID.Does anyone have source on this?I really appreciate

I need to do it programatically similar to Spy++. All I need is the one WM_COMMAND messag开发者_如何学编程e returned so I can retrieve the Command ID. Does anyone have source on this? I really appreciate it...

I am currently using Delphi...


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

0

精彩评论

暂无评论...
验证码 换一张
取 消