Application-defined messages
The application program can define additional messages for its own usage.In order to ensure
that they do not use the same message Id's as those used by emWin,user-defined messages start numbering after WM_USER.You would deinfe your own message as follows:
#define MY_MESSAGE_AAA WM_USER+0
#define MY_MESSAGE_AAA WM_USER+1
and so on.
================================================================
4.18的手册上对于自定义消息的注释就这么多。完全没有讲到如何识别不同的自定义消息。
是手册上别处还有说明,亦或就这么点内容?
|