如何在MFC程序运行中,在某一过程把消息放进消息队列中,例如WM_PAINT,WM_SIZE
用::SendMessage吗?
用::SendMessage吗?
解决方案 »
- 如何将工具栏按钮和菜单栏的选项关联起来执行同一个动作啊
- 高分求解组合框问题。
- 如何给软件做语言包
- SOCKET采用完成端口模式,但因为某些操作会突然停止工作,什么原因,高手近来指点一下
- 请问,如何获得某个进程所访问和监听网络的端口信息?就像天网那样,可以看到各个程序的网络连接情况。
- #include "../require.h",require.h在哪???
- system("pause")问题
- SOS:我的图形缩放时总靠在左上角不动...
- CString 操作导致内存泄漏,请帮忙看一下代码!!
- 如何在MFC中调用一个对话框!
- 100分相送谁能给我发在codeproject上下载的Toolband (Toolbar for IE) sample using WTL.
- help!在CRecordSet里 如何得到某个字段有几个取值?
PostMessage:把消息放进消息队列马上返回
都可以
PostMessage:把消息放进消息队列马上返回
如此说不right看看msdn
The SendMessage member function calls the window procedure directly and does not return until that window procedure has processed the message. This is in contrast to the PostMessage member function, which places the message into the window's message queue and returns immediately
如何让指定的类处理我们发的消息,也就是参数有什么要求,MSDN没说清楚