Introduction - If you have any usage issues, please Google them yourself
First, install a monitor in the program window procedure hook function, and then define a new window function, the function will replace the button, the window function, which mainly deal with some interesting news, call the custom information in some way . Finally, hook the function to read the current control class name, if it is the button class, for the button to set up a custom message and subclass of the button.