[Windows +] Register / delete message reception function
| mode | Specify whether to register or unregister. |
| func | Specifies the message receiving function. |
| userdata | Specifies the data pointer to pass to the userdata argument of the receiving function specified by the func argument. |
This method is supposed to be used by plugins written in C ++ etc.
It cannot be used normally from TJS2.
This method allows you to register a message receiving function to trap messages that pass through this window.
In addition to normal window messages, the message receiving function can also trap two important messages, TVPWMDETACH and TVPWMATTACH, which can be used to remove child windows when the window is rebuilt or destroyed. ..
His src / plugins / win32 / wmrdump in the Kirikiri source distribution package has a brief usage description.