在这种情况下,我们应该使用PostMessage()或SendMessage() [英] In which situation we should use PostMessage() or SendMessage()

查看:327
本文介绍了在这种情况下,我们应该使用PostMessage()或SendMessage()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我知道sendmessage()postmessage()之间的区别.

但是在这种情况下,我们需要使用Postmessage().

请帮助我.

Hi All,

I know the difference between sendmessage() and postmessage().

But in which situation we need to use Postmessage().

Please help me.

推荐答案

如果应用程序忙于处理一个较长的过程并挂起了应用程序,最好使用由SendMessage插入的PostMessage. SendMessage和PostMessage的用法取决于您的要求
Incase of the application is busy in processing a long procedure and hangs the application it is better to use PostMessage insted of the SendMessage. The usage of the SendMessage and PostMessage is depends upon your requirement


这篇关于在这种情况下,我们应该使用PostMessage()或SendMessage()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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