Wm_user Help application to define private private message in window class , usually using wm_user+ 0x7fff
Wm_appa constant is a Windows help application that defines a private message, typically using an integer value of wm_app+ , But the total value cannot exceed 0xBFFF .
a rule that is customary.
Wm_user through 0x7FFF: used only within its own predefined window;
Wm_app through 0xBFFF: can be used elsewhere in the application.
if all the windows of the program and all the controls are implemented entirely by you, you can totally not abide by this rule.
But if someone else writes code or loads a foreign control, if you do not follow this rule, the probability of a conflict will increase significantly and unexpected results may occur.
Wm_app for inter-process
Wm_user for this process
This article is from the "whatever957" blog, make sure to keep this source http://whatever957.blog.51cto.com/6835003/1621854
Wm_user Wm_app Difference