怀疑在MFC Activex控件中 [英] Doubt in MFC activex control

查看:67
本文介绍了怀疑在MFC Activex控件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我可以使用PostMessage或SendMessage将消息从项目应用程序发送到Activex控件应用程序.



如果可能,请向我解释.

Hi all,

can I use PostMessage or SendMessage for sending message from project application to activex control application.



If possible please explain to me.

推荐答案

如果您的项目包含ActiveX控件,则应通过编写该控件的接口与其进行对话,而不要发送消息做到这一点.如果它有自己的消息循环,则可以向它发送消息.
If your project contains an ActiveX control, you should talk to it through the interface that you write to it, not by sending messages to it. If it has it''s own message loop going on, then you could presumably send it messages.


这篇关于怀疑在MFC Activex控件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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