You can use the macro EV_CHILD_NOTIFY_AND_CODE if you want the parent window to handle more than one message using the same function.
For example:
#define END_RESPONSE_TABLE
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
#define EV_CHILD_NOTIFY_AND_CODE(id, notifyCode, method)
Response table entry for a child ID notification handled at the child's parent.
- Note
- If your window has several different messages to handle and uses several different functions to handle these messages, it's better to use EV_CHILD_NOTIFY_AND_CODE instead of evchildnotify because EV_CHILD_NOTIFY message-handling function receives no parameters and therefore doesn't know which message it's handling.
See Also