VC6 --->VC 8 线程消息

来源:互联网 发布:安卓sdk为什么用java 编辑:程序博客网 时间:2024/06/07 13:31

Indicates which function will handle a user-defined message.

ON_THREAD_MESSAGE(message, memberFxn )

 

Parameters

message

The message ID.

memberFxn

The name of the CWinThread-message-handler function to which the message is mapped.

RemarksRemarks

ON_THREAD_MESSAGE must be used instead of ON_MESSAGE when you have a CWinThread class. User-defined messages are any messages that are not standard Windows WM_MESSAGE messages. There should be exactly one ON_THREAD_MESSAGE macro statement in your message map for every user-defined message that must be mapped to a message-handler function.

原创粉丝点击