API:关于SendMessage的一个问题 [英] API:one question about SendMessage

查看:75
本文介绍了API:关于SendMessage的一个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我需要发送消息时:Ctrl + Shift + F9到另一个软件的表单,我想使用sendmessage,

但是我不知道怎么写它的参数,任何人都可以给代码让我测试?

谢谢。

when i need to send the message:Ctrl+Shift+F9 to another software's form,i wanna use sendmessage,
but i don't know how to write its parameter,can anybody give the code let me test?
thanks.

推荐答案

你最好使用非阻塞 PostMessage



但是你必须知道目标窗口句柄 - 大多数是安全问题。
You better use the non-blocking PostMessage.

But you must know the target Window handle - and most it is a security issue.


这篇关于API:关于SendMessage的一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆